/* Modern Login Page Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* Base Styles */
.veltica-master-class {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Login Page Layout */
.login-page {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-wrapper {
    width: 100%;
    max-width: 1000px;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
}

/* Login Form Container */
.login-container {
    flex: 1;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
}

/* Login Image Side */
.login-image {
    flex: 1;
    background-image: url('https://source.unsplash.com/random/1000x1000/?education,classroom');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 93, 158, 0.8) 0%, rgba(29, 64, 109, 0.9) 100%);
}

.login-quote {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 0 2rem;
    max-width: 400px;
}

.login-quote blockquote {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.login-quote cite {
    font-size: 1rem;
    font-weight: 500;
}

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo {
    font-size: 3rem;
    color: #2a5d9e;
    margin-bottom: 1.5rem;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #2a5d9e;
    margin: 0 0 0.5rem 0;
}

.login-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Login Error */
.login-error {
    background-color: #fff5f5;
    border-left: 4px solid #e53e3e;
    color: #e53e3e;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.login-error i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Login Form */
.login-form-container {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: #444;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.form-group label i {
    margin-right: 0.5rem;
    color: #2a5d9e;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #2a5d9e;
    box-shadow: 0 0 0 3px rgba(42, 93, 158, 0.1);
    outline: none;
}

.form-group input::placeholder {
    color: #aaa;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f0f0f0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #e0e0e0;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #2a5d9e;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    margin-left: 0.5rem;
    color: #555;
}

/* Forgot Password */
.forgot-password a {
    color: #2a5d9e;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Submit Button */
.form-submit {
    margin-top: 1rem;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background-color: #2a5d9e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-login:hover {
    background-color: #1e4a83;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 93, 158, 0.2);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login span {
    margin-right: 0.5rem;
}

/* Login Footer */
.login-footer {
    margin-top: auto;
    text-align: center;
}

.register-link {
    color: #666;
    font-size: 0.95rem;
}

.register-link a {
    color: #2a5d9e;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column-reverse;
        max-width: 600px;
    }
    
    .login-image {
        min-height: 200px;
    }
    
    .login-quote blockquote {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: 2rem 1.5rem;
    }
    
    .login-header h1 {
        font-size: 1.8rem;
    }
    
    .login-logo {
        font-size: 2.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .forgot-password {
        margin-top: 1rem;
    }
    
    .login-image {
        min-height: 150px;
    }
    
    .login-quote blockquote {
        font-size: 1rem;
    }
}