﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.login-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a2351 0%, #1a4c8a 100%);
    background-image: url('background.png');
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.1);
}


.containercustom {
    display: flex;
    max-width: 600px;
    height: 320px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .containercustom {
        height: 600px;
    }
}

.left-section {
    flex: 0 0 50%;
    background: #02023f;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

    .left-section img {
        max-width: 100%;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.right-section {
    flex: 0 0 50%;
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo-text {
    font-size: 36px;
    font-weight: bold;
    color: #0a2351;
}

    .logo-text .on {
        color: #0a2351;
    }

    .logo-text .s {
        color: #ff6b35;
    }

.logo-subtitle {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}

h2 {
    text-align: center;
    color: #0a2351;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

    input[type="text"]:focus,
    input[type="password"]:focus {
        outline: none;
        border-color: #0a2351;
    }

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.forgot-password {
    color: #0a2351;
    text-decoration: none;
    font-size: 14px;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.login-btn {
    width: 100%;
    padding: 12px;
    background: #0a2351;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .login-btn:hover {
        background: #1a4c8a;
    }

.register-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 13px;
}

    .register-link a {
        color: #0a2351;
        text-decoration: none;
        font-weight: 600;
    }

        .register-link a:hover {
            text-decoration: underline;
        }

.sidebar {
    position: fixed;
    right: 40px;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.sidebar-logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}

    .sidebar-logo .on {
        color: white;
    }

    .sidebar-logo .s {
        color: #ff6b35;
    }

.sidebar-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

    .sidebar-link:hover {
        color: #ff6b35;
    }

.sidebar-text {
    color: white;
    font-size: 13px;
    text-align: right;
    margin-top: 30px;
    max-width: 180px;
    line-height: 1.8;
}

    .sidebar-text .strength {
        color: #ff6b35;
        font-weight: bold;
        font-size: 20px;
        display: block;
        margin: 5px 0;
    }

@media (max-width: 968px) {
    .left-section {
        display: none;
    }

    .sidebar {
        display: none;
    }
}

@media (max-width: 600px) {
    .right-section {
        padding: 40px 30px;
    }
}

.input-box-login {
    padding: 0.2rem 0.75rem !important;
}

@media (max-width: 768px) {

    .containercustom {
        flex-direction: column;
        height: auto;
    }

    .left-section {
        flex: none;
        width: 100%;
        height: 220px;
    }

        .left-section img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .right-section {
        flex: none;
        width: 100%;
        padding: 30px 20px;
    }
}






/*nav css start*/

.login-page,
.containercustom,
.right-section {
    transform: none !important;
}
html, body {
    height: 100%;
    margin: 0;
}


.custom-alert-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    transform: translateZ(0); /* ← YE ADD KARO */
}

.custom-alert-box {
    background: white;
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 300px;
}

    .custom-alert-box p {
        font-size: 16px;
        margin-bottom: 20px;
        color: #333;
    }

    .custom-alert-box button {
        background: #002659;
        color: white;
        border: none;
        padding: 8px 30px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
    }
.fixed-pager {
    position: fixed;
    bottom: 10px;
    left: 270px; /* sidebar width ke hisaab se adjust karo */
    right: 20px;
    background: #fff;
    border-top: 1px solid #dee2e6;
    z-index: 1000;
    padding: 8px;
}