@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #050a15;
    color: #ffffff;
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Pane */
.left-pane {
    width: 50%;
    position: relative;
    background-image: url('../assets/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem;
}

.left-pane::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(5, 10, 21, 0.9) 0%, rgba(5, 10, 21, 0.4) 50%, rgba(5, 10, 21, 0.1) 100%);
    z-index: 1;
}

.left-pane-content {
    position: relative;
    z-index: 2;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
}

.tvs-logo {
    display: flex;
    align-items: baseline;
}

.tvs-text {
    font-size: 4rem;
    font-weight: 800;
    color: #ef4444; /* TVS Red */
    font-style: italic;
    letter-spacing: -2px;
}

.tvs-horse {
    color: #ef4444;
    font-size: 3rem;
    margin-bottom: -10px;
}

.admin-panel-text {
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: #93c5fd;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.slogan {
    margin-top: 2rem;
}

.slogan-top {
    font-size: 2.2rem;
    font-weight: 400;
    color: #ffffff;
    font-style: italic;
    display: block;
}

.slogan-bottom {
    font-size: 2.2rem;
    font-weight: 600;
    color: #3b82f6; /* Blue */
    font-style: italic;
    display: block;
}

.features {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2rem;
    margin-top: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.2rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.feature-desc {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Right Pane */
.right-pane {
    width: 50%;
    background-color: #050a15;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.right-pane::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.5), rgba(59, 130, 246, 0.1));
}

.login-form-wrapper {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shield-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.15);
}

.shield-icon i {
    font-size: 2.5rem;
    color: #38bdf8;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
}

.welcome-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.welcome-title span {
    color: #3b82f6;
}

.welcome-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.form-group {
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: #64748b;
    font-size: 1.4rem;
    z-index: 10;
}

.input-wrapper .fa-eye, .input-wrapper .fa-eye-slash {
    left: auto;
    right: 1rem;
    cursor: pointer;
    transition: color 0.2s;
}

.input-wrapper .fa-eye:hover, .input-wrapper .fa-eye-slash:hover {
    color: #cbd5e1;
}

.form-control {
    width: 100%;
    padding: 1.1rem 1rem 1.1rem 3.5rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    outline: none;

    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: rgba(15, 23, 42, 0.8);
}

.form-control::placeholder {
    color: #475569;
}

.forgot-password {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.forgot-password a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password a:hover {
    color: #60a5fa;
}

.login-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.login-btn:hover {
    background: linear-gradient(to right, #3b82f6, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.login-btn:active {
    transform: translateY(1px);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    color: #64748b;
    font-size: 0.95rem;
}

.secure-badge i {
    color: #38bdf8;
}

.secure-badge::before, .secure-badge::after {
    content: '';
    height: 1px;
    width: 40px;
    background: rgba(100, 116, 139, 0.2);
}

.footer {
    position: absolute;
    bottom: 2rem;
    color: #475569;
    font-size: 0.8rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .left-pane {
        display: none;
    }
    .right-pane {
        width: 100%;
    }
    .right-pane::before {
        display: none;
    }
}
