body {
    background: linear-gradient(135deg, #1e90ff, #32cd32);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 1px 3px rgba(0, 0, 0, 0.1);
    width: 380px;
    max-width: 90%;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.container:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 2px 5px rgba(0, 0, 0, 0.15);
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e90ff, #32cd32, #1e90ff);
    border-radius: 20px 20px 0 0;
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.title {
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    text-align: left;
    color: #555;
}

.input-group {
    margin-bottom: 1.2rem;
}

.container input[type="text"],
.container input[type="email"],
.container input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

.container input::placeholder {
    color: #aaa;
    font-style: italic;
}

.container button {
    width: 100%;
    padding: 1rem;
    background-color: #1e90ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.container button:hover {
    background-color: #1c86ee;
}

.messages {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.alert-error, .messages .error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.field-container .error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: block;
}

.watermark {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-109%, -50%);
    max-height: 100vh;
    height: 105%;
    opacity: 0.45;
    pointer-events: none;
}

@media (max-width: 400px) {
    .container {
        padding: 2.5rem 1.8rem;
        width: 320px;
    }
    .title {
        font-size: 1.3rem;
    }
}