/* Base Styles */
:root {
    --primary-gradient: linear-gradient(90deg, rgba(0, 125, 241, 1), rgba(0, 103, 244, 1), rgba(0, 224, 255, 1));
    --primary-gradient-hover: linear-gradient(90deg, rgb(99 170 237), rgb(45 132 255), rgb(35 136 217));
    --primary-color: #007df1;
    --error-color: #ff5252;
    --text-color: #282828;
    --border-color: #ecedef;
    --background-color: #fbfcff;
    --transition-speed: 0.3s;
}

/* Layout */
.login-container {
    padding-top: 30px;
    width: 90%;
    margin: 0 auto;
}

.login-background {
    background: #0952df url(/assets/png/bg-login.png) no-repeat;
    background-size: cover;
    font-family: "Plus Jakarta Sans", serif;
    margin: 8px;
}

/* Form Container */
.login-form {
    padding: 65px;
    background: var(--background-color);
    border-radius: 70px;
    text-align: left;
    width: 90%;
    float: right;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 70%;
    min-width: 500px;
    padding-left: 55px;
    padding-right: 55px;
}

/* Form Elements */
.form-group {
    margin-bottom: 22px;
}

.form-label {
    /* display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(37, 41, 55, 1);
    margin-bottom: 8px; */

    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(37, 41, 55, 1);
    margin-bottom: 0;
}

.form-input {
    /* width: 100%;
    padding: 18px;
    border-radius: 32px;
    border: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-color);
    height: 62px;
    transition: all var(--transition-speed) ease; */
    width: 100%;
    padding: 18px;
    border-radius: 32px;
    border: 1px solid #ecedef;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #282828;
    height: 62px;
}

.form-input::placeholder {
    font-size: 14px;
    font-weight: 400;
}

.form-input:focus {
    border-color: rgba(99, 170, 237, 0.8);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(99, 170, 237, 0.6);
    outline: 0 none;
}

/* Button Styles */
.submit-btn {
    width: 100%;
    height: 57px;
    margin-top: 15px;
    border-radius: 40px;
    background-image: var(--primary-gradient);
    border: none;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background-image: var(--primary-gradient-hover);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Error Messages */
.error-message {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Links */
.forgot-password {
    float: right;
    color: #5a5a5a;
    font-size: 12px;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.forgot-password:hover {
    color: var(--primary-color);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Remember Me Checkbox */
.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--border-color);
    cursor: pointer;
}

.remember-me label {
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-form {
        width: 100%;
        padding: 40px;
    }
    
    .login-container {
        padding-top: 20px;
    }
    
    .form-input {
        height: 50px;
        padding: 12px;
    }
    
    .submit-btn {
        height: 50px;
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.highlight {
    color: #4aeffa;
}

.login-title {
    text-align: left;
    color: rgba(255, 255, 255, 1);
    font-size: 55px;
    font-weight: 900;
    padding-left: 40%;
    margin-top: 59px;
    line-height: 1.27;
}

.login-decoration {
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 45%;
}

.login-logo {
    width: 280px;
}

.login-content {
    margin-top: 60px;
}

.form-title {
    text-align: center;
    margin-top: 0px;
    font-weight: 800;
    font-size: 40px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 