* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #fafafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 75px 0px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    z-index: 1;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.login-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.login-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.login-shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -5%;
    animation-delay: 2s;
}

.login-shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.login-form-container {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: #000000;
}

.login-subtitle {
    font-size: 1rem;
    color: #4a4a4a;
    font-weight: 400;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2c;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #000000;
}

.remember-me label {
    font-size: 14px;
    color: #4a4a4a;
    cursor: pointer;
}

.forgot-password {
    font-size: 14px;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #000000;
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    background: linear-gradient(45deg, #000000, #2c2c2c);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: linear-gradient(45deg, #1a1a1a, #404040);
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.divider span {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0 15px;
    position: relative;
    color: #666666;
    font-size: 14px;
}

.signup-link {
    text-align: center;
    font-size: 14px;
    color: #4a4a4a;
}

.signup-link a {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #2c2c2c;
    text-decoration: underline;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-social {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2c;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.2);
}

.social-icon {
    width: 18px;
    height: 18px;
}

.login-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Error message styling */
.error-message {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message i {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-form-container {
        padding: 30px 20px;
    }

    .login-title {
        font-size: 1.8rem;
    }

    .social-login {
        flex-direction: column;
    }
}

/* Add this to the existing login.css file */

/* Success message styling */
.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message i {
    font-size: 18px;
}

/* Add these styles to your existing login.css file */

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666666;
}

.terms-agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #4a4a4a;
}

.terms-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #000000;
    margin-top: 2px;
}

.terms-agreement label {
    cursor: pointer;
    line-height: 1.4;
}

.terms-agreement a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

.terms-agreement a:hover {
    text-decoration: underline;
}