/* =========================================================
   FDSS LOGIN PAGE CSS - INDIAN RAILWAYS
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Login Container */
.login-container {
    width: 100%;
    max-width: 1200px;
    min-height: 600px;
}

.login-wrapper {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    height: 100%;
}

/* Left Side - Branding */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #6faed6 0%, #5b9ac2 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    text-align: center;
    min-height: 600px;
}

.brand-section {
    margin-bottom: 60px;
}

.logo-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.brand-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0 10px;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0.9;
}

.brand-description {
    font-size: 14px;
    opacity: 0.85;
    font-style: italic;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.feature-item i {
    font-size: 20px;
    flex-shrink: 0;
}

/* Right Side - Login Form */
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

.login-form-container h2 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Form Groups */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: #6faed6;
    font-size: 16px;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.form-control:focus {
    outline: none;
    border-color: #6faed6;
    box-shadow: 0 0 0 3px rgba(111, 174, 214, 0.1);
}

.form-control::placeholder {
    color: #bdc3c7;
}

/* Password Input Group */
.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-group .form-control {
    padding-right: 45px;
    width: 100%;
}

.btn-toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: color 0.3s ease;
}

.btn-toggle-password:hover {
    color: #6faed6;
}

/* Checkbox */
.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-right: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: #6faed6;
    border-color: #6faed6;
}

.form-check-label {
    color: #2c3e50;
    font-size: 14px;
    cursor: pointer;
    margin: 0;
}

/* Login Button */
.btn-login {
    padding: 12px 20px;
    background: linear-gradient(135deg, #6faed6 0%, #5b9ac2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 174, 214, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

/* Login Footer */
.login-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
}

.forgot-password,
.contact-support {
    color: #6faed6;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.forgot-password:hover,
.contact-support:hover {
    color: #5b9ac2;
    text-decoration: underline;
}

.separator {
    color: #bdc3c7;
}

/* Alert Info */
.alert-info {
    background-color: #e8f4f8;
    border-left: 4px solid #6faed6;
    color: #2c3e50;
    padding: 12px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-top: 25px;
}

.alert-info i {
    color: #6faed6;
    font-size: 16px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .login-left {
        min-height: 300px;
        padding: 40px 20px;
    }

    .logo-icon {
        font-size: 60px;
    }

    .brand-section h1 {
        font-size: 36px;
    }

    .feature-list {
        gap: 15px;
    }

    .login-right {
        padding: 40px 20px;
    }

    .login-form-container h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .login-left {
        min-height: 250px;
        padding: 30px 15px;
    }

    .logo-icon {
        font-size: 48px;
    }

    .brand-section {
        margin-bottom: 30px;
    }

    .brand-section h1 {
        font-size: 28px;
    }

    .brand-description {
        font-size: 12px;
    }

    .feature-item {
        font-size: 13px;
    }

    .login-right {
        padding: 30px 15px;
    }

    .login-form-container h1 {
        font-size: 20px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }

    .btn-login {
        padding: 10px 15px;
        font-size: 14px;
    }
}
