﻿body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #eef2f7;
    min-height: 100vh; /* page minimum height */
    overflow-x: hidden;
    overflow-y: hidden; /* scroll bar enable */
}

/* Container flex */
.container-login {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    min-height: 100vh; /* full page height */
}
/* Left Panel */
.left-panel {
    flex: 1 1 48%;
    min-width: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#1f3c88,#4a69bd);
    padding: 40px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    position: relative;
}

.slider-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}

.slider-text {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

    .slider-text h5 {
        margin: 0;
        font-weight: 700;
        font-size: 16px;
    }

    .slider-text p {
        margin: 3px 0 0 0;
        font-size: 13px;
    }

/* Social icons on left panel left side */
.social-icons {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .social-icons a {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #fff;
        font-size: 20px;
        background: rgba(255,255,255,0.2); /* default */
        transition: all 0.3s;
    }

        /* Real colors */
        .social-icons a:nth-child(1) {
            background: #e1306c; /* Instagram Pink */
        }

        .social-icons a:nth-child(2) {
            background: #ff0000; /* YouTube Red */
        }

        .social-icons a:nth-child(3) {
            background: #1877f2; /* Facebook Blue */
        }

        .social-icons a:hover {
            transform: scale(1.2);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }
/* Right Panel */
.right-panel {
    flex: 1 1 48%;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 30px 20px; /* padding kam ki */
}

/* Login form area */
.login-area {
    width: 100%;
    max-width: 500px; /* thoda chota kiya */
    margin: auto;
}


/* Logo and title aligned with inputs */
.school-logo, .login-title, .welcome-text {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    margin-left: 0;
}

.school-logo {
    align-items: center;
    gap: 10px;
    margin-top: 25px; /* logo ke upar space */
    margin-bottom: 10px;
}

    .school-logo img {
        width: 75px; /* logo thoda chota */
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .school-logo h3 {
        margin: 0;
        font-weight: 800;
        font-size: 22px; /* heading choti */
        color: #1f3c88;
    }


.login-title {
    font-weight: 700;
    color: #333;
    font-size: 20px;
    margin: 10px 0 3px 0;
}

.welcome-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.form-control {
    border-radius: 8px;
    padding: 11px; /* input height kam */
    font-size: 14px;
}


    .form-control:focus {
        box-shadow: 0 0 10px rgba(13,110,253,0.4);
        border-color: #0d6efd;
    }

.input-group-text {
    background: #f1f3f6;
    padding: 10px;
}


/* Button */
.login-btn {
    width: 500px;
    background: linear-gradient(45deg,#0d6efd,#3a8bfd);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    margin-top: 8px;
    transition: 0.3s;
}

    .login-btn:hover {
        transform: translateY(-2px);
        background: linear-gradient(45deg,#0b5ed7,#2f74da);
    }

.extra {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.left-side {
    display: flex;
    flex-direction: column;
}

.help-action a {
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}

    .help-action a:hover {
        text-decoration: underline;
    }

/* Helpline & App badges */
.helpline {
    font-size: 13px;
    color: #444;
    line-height: 20px;
    margin-top: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .helpline i {
        color: #0d6efd;
        margin-right: 5px;
    }

.store-icons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

    .store-icons img {
        height: 28px;
    }

        .store-icons img:last-child {
            margin-right: 0;
        }

/* Footer single line */
.nk-footer {
    margin-top: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.nk-footer-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    flex-wrap: wrap;
    text-align: center;
}

.nk-footer .nk-footer-wrap span {
    font-weight: 600;
}

/* Slider hover effect */
.left-panel:hover .slider-img {
    transform: scale(1.03);
}
