﻿/*.rowborder {*/
    /*box-shadow: 5px 10px 10px rgba(0,0,0,0.5);*/
    /*box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.margin {
    margin-top: 70px;
    margin-bottom: 88px;
}

.registerbg {*/
    /*background-image: linear-gradient(to top right,#313165,#3d84bf);*/
    /*background: -webkit-linear-gradient(to right, #FF4B2B, #FF416C);
    background: linear-gradient(to right, #FF4B2B, #FF416C);
    display:block;
}

.marker {
    width: 70px;
    height: 120px;
}

.labelfont {
    font-size: 18px;
}

.labelfont1 {
    font-size: 20px;
}

.lblfontleft {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.btn1 {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.txtpayment {
    width: 100%;
    height: 50px;
    background-color: #eee;
    border: none;
    padding: 12px 12px 12px 12px;
    font-weight: bold;
    font-size: 15px;
}
.txtpayment2{
    width: 100%;
    height: 50px;
    background-color: #eee;
    border: none;
    padding: 12px 12px 12px 12px;
    font-weight: bold;
    font-size: 15px;
}

.imgsamplebill {
    height: 190px;
    width: 150px;
    background-size: cover;
    position: absolute;
    top: 5%;
    right: 0%;
    border: 1px solid gray;
    overflow: hidden;
}

.samplebillhover {
    background-color: rgba(0,0,0,0.5);
    height: 190px;
    width: 150px;
    background-size: cover;
    position: absolute;
    top: 0%;
    left: -110%;
    border: 1px solid gray;
    transition: left 1s;
    z-index: 0;
}

.imgsamplebill:hover .samplebillhover {
    top: 0%;
    left: 0%;
}

.lblsamplebill {
    margin: 40% 20% 40% 20%;
    cursor: pointer;
    text-align: center;
}

.optWindow1 {
    width: 80%;
    height: 70%;
    z-index: 9999;
    position: absolute;
    top: 15%;
    left: 10%;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    overflow: hidden;
    background: white;
    border-radius: 10px;
}
.detailbill{
    width:100%;
}

.opacity {
    background-color: rgba(0,0,0,0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.opacity2 {
    width: 100%;
    height: 115%;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
    position: absolute;
    top: 0;
    left: 0;
}

.popup {
    width: 50%;
    display: block;
    z-index: 9999;
    position: absolute;
    padding: 25px;
    top: 25%;
    left: 25%;
    border-radius: 10px;
    box-shadow: 7px 14px 28px rgba(0,0,0,0.25), 7px 10px 10px rgba(0,0,0,0.22);
}

.popupclose {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 40px;
    height: 40px;
    z-index: 9999;
}

    .popupclose:hover {
        padding: 10px;
        background-color: #eee;
        border-radius: 50px;
    }

.otpimg {
    margin-top: 20%;
    width: 90%;
}


.imgclose {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 20%;
    right: 20%;
}

.lnkclose {
    position: absolute;
    top: 3%;
    right: 2%;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 5px;
}

    .lnkclose:hover {
        background-color: #f54b42;
        border-radius: 50px;
    }*/

/*==================================== Media Query Start ==========================================*/
/*@media only screen and (max-width: 600px) {
    
.marker {
    width: 50px;
    height: 80px;
}
.imgsamplebill {
    height: 150px;
    width: 110px;
    background-size: cover;
    position: static;
    border: 1px solid gray;
    overflow: hidden;
    margin:10% 20% 10% 20%;
}
.margin {
    margin-top: 50px;
    margin-bottom: 50px;
}
.samplebillhover {
    background-color: rgba(0,0,0,0.5);
    height: 150px;
    width: 110px;
    background-size: cover;
    position: absolute;
    top: 57%;
    left: -110%;
    border: 1px solid gray;
    transition: left 1s;
    z-index: 0;
}

.imgsamplebill:hover .samplebillhover {
    top: 57%;
    left: 22%;
}
.txtpayment {
    width: 100%;
    height: 60px;
    background-color: #eee;
    border: none;
    padding: 12px 12px 12px 12px;
    font-weight: bold;
    font-size: 18px;
}
.txtpayment2{
    width: 100%;
    height: 60px;
    background-color: #eee;
    border: none;
    padding: 12px 12px 12px 12px;
    font-weight: bold;
    font-size: 10px;
}
.optWindow1 {
    width: 90%;
    height: 30%;
    z-index: 9999;
    position: absolute;
    top: 15%;
    left: 5%;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    overflow: hidden;
    background: white;
    border-radius: 10px;
}
.detailbill{
    width:100%;
    margin-top:20px;
}

}*/


:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --green: #059669;
    --green-dark: #047857;
    --green-light: #ecfdf5;
    --success: #16a34a;
    --success-light: #f0fdf4;
    --danger: #dc2626;
    --danger-light: #fef2f2;
    --warning: #d97706;
    --warning-light: #fffbeb;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
    background: linear-gradient(155deg,#0c1222 0%,#1a365d 40%,#1e40af 70%,#2563eb 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.bg-deco {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

    .bg-deco .orb {
        position: absolute;
        border-radius: 50%;
        background: rgba(255,255,255,0.03);
    }

        .bg-deco .orb:nth-child(1) {
            width: 500px;
            height: 500px;
            top: -150px;
            right: -150px;
            animation: orbF 22s ease-in-out infinite;
        }

        .bg-deco .orb:nth-child(2) {
            width: 400px;
            height: 400px;
            bottom: -120px;
            left: -120px;
            animation: orbF 28s ease-in-out infinite reverse;
        }

@keyframes orbF {
    0%,100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-25px) scale(1.03);
    }
}

.page-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 30px 16px 60px;
}

/* Hero */
.hero {
    text-align: center;
    max-width: 600px;
    margin-bottom: 24px;
    animation: fadeD 0.6s ease-out;
}

@keyframes fadeD {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

    .hero-badge i {
        color: #fbbf24;
    }

.hero h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

    .hero h1 span {
        background: linear-gradient(135deg,#fbbf24,#f59e0b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Card */
.main-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 560px;
    animation: cardUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
    opacity: 0;
}

@keyframes cardUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.card-accent {
    height: 5px;
    background: linear-gradient(90deg,#2563eb,#7c3aed,#059669);
}

.card-inner {
    padding: 32px 28px;
}

/* Steps Indicator */
.steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 20px;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    border: 2px solid var(--gray-300);
    color: var(--gray-400);
    background: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
}

    .step-num.active {
        border-color: var(--primary);
        color: var(--white);
        background: var(--primary);
        box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
    }

    .step-num.done {
        border-color: var(--green);
        color: var(--white);
        background: var(--green);
    }

.step-line {
    width: 50px;
    height: 2px;
    background: var(--gray-200);
    margin: 0 6px;
}

.step-title {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

/* Form Groups */
.fg {
    margin-bottom: 16px;
}

    .fg > label {
        display: block;
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--gray-700);
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

.iw {
    position: relative;
}

    .iw .ico {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray-400);
        font-size: 0.9rem;
        z-index: 2;
        pointer-events: none;
        transition: var(--transition);
    }

.fi {
    width: 100%;
    padding: 12px 16px 12px 42px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    background: var(--gray-50);
    color: var(--gray-900);
}

    .fi:focus {
        border-color: var(--primary);
        background: var(--white);
        box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
    }

        .fi:focus ~ .ico {
            color: var(--primary);
        }

    .fi::placeholder {
        color: var(--gray-400);
        font-weight: 400;
    }

    .fi:disabled {
        background: var(--gray-100);
        color: var(--gray-500);
        cursor: not-allowed;
    }

/* CAPTCHA */
.cap-box {
    background: linear-gradient(145deg,var(--gray-50),var(--gray-100));
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.cap-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cap-frame {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-xs);
    background: var(--white);
    padding: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    line-height: 0;
    overflow: hidden;
}

    .cap-frame img {
        height: 46px;
        width: auto;
        display: block;
        user-select: none;
        pointer-events: none;
    }

.btn-cap-refresh {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 0.85rem;
}

    .btn-cap-refresh:hover {
        border-color: var(--primary);
        color: var(--primary);
        transform: rotate(180deg);
    }

.cap-iw {
    position: relative;
}

    .cap-iw .ico {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray-400);
        font-size: 0.8rem;
        z-index: 2;
        pointer-events: none;
    }

.cap-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    font-size: 1rem;
    font-family: 'Courier New',monospace;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-align: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-900);
    text-transform: uppercase;
}

    .cap-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
    }

    .cap-input::placeholder {
        font-size: 0.76rem;
        font-family: 'Inter',sans-serif;
        font-weight: 400;
        letter-spacing: 0.02em;
        color: var(--gray-400);
    }

/* Buttons */
.btn-main {
    width: 100%;
    padding: 13px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .btn-main::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,transparent,rgba(255,255,255,0.15),transparent);
        transition: left 0.5s ease;
    }

    .btn-main:hover::before {
        left: 100%;
    }

.btn-blue {
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
}

    .btn-blue:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(37,99,235,0.35);
    }

.btn-green {
    background: linear-gradient(135deg,var(--green),var(--green-dark));
}

    .btn-green:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(5,150,105,0.35);
    }

.btn-outline {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

    .btn-outline:hover {
        background: var(--primary-light);
    }

.btn-sm {
    width: auto;
    padding: 10px 20px;
    font-size: 0.82rem;
}

.btn-half {
    width: 48%;
    display: inline-block;
}

.sample-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding: 10px 14px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--gray-600);
    font-size: 0.76rem;
    font-weight: 600;
}

    .sample-link:hover {
        border-color: var(--primary);
        background: var(--primary-light);
        color: var(--primary);
    }

.pwd-hint {
    font-size: 0.66rem;
    color: var(--gray-400);
    margin-top: 4px;
    padding-left: 2px;
}

.link-row {
    text-align: center;
    margin-top: 14px;
    font-size: 0.76rem;
    color: var(--gray-500);
}

    .link-row a {
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
    }

        .link-row a:hover {
            text-decoration: underline;
        }

.card-foot {
    text-align: center;
    padding: 14px 24px 20px;
    border-top: 1px solid var(--gray-100);
}

    .card-foot p {
        font-size: 0.66rem;
        color: var(--gray-400);
        margin: 0;
    }

/* Success Panel */
.success-panel {
    text-align: center;
    padding: 40px 20px;
    animation: panelIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--success-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .success-icon i {
        font-size: 2rem;
        color: var(--success);
    }

.success-panel h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.success-panel p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Security Question Cards */
.sq-card {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 14px;
}

    .sq-card .sq-label {
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .sq-card .sq-label span {
            background: var(--primary);
            color: var(--white);
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
            font-weight: 800;
        }

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

    .modal-overlay.visible {
        display: flex;
        animation: oIn 0.25s ease;
    }

@keyframes oIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 32px 28px 24px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    animation: eIn 0.35s cubic-bezier(0.16,1,0.3,1);
}

@keyframes eIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-box .m-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

    .modal-box .m-circle.err-red {
        background: var(--danger-light);
    }

        .modal-box .m-circle.err-red i {
            font-size: 1.4rem;
            color: var(--danger);
        }

    .modal-box .m-circle.err-green {
        background: var(--success-light);
    }

        .modal-box .m-circle.err-green i {
            font-size: 1.4rem;
            color: var(--success);
        }

    .modal-box .m-circle.err-warn {
        background: var(--warning-light);
    }

        .modal-box .m-circle.err-warn i {
            font-size: 1.4rem;
            color: var(--warning);
        }

    .modal-box .m-circle.err-blue {
        background: var(--primary-light);
    }

        .modal-box .m-circle.err-blue i {
            font-size: 1.4rem;
            color: var(--primary);
        }

.modal-box .m-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.modal-box .m-msg {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-modal {
    padding: 10px 32px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

    .btn-modal.blue {
        background: var(--primary);
    }

        .btn-modal.blue:hover {
            background: var(--primary-dark);
        }

/* OTP Modal (different from error modal) */
.otp-modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 28px 24px;
    max-width: 420px;
    width: 100%;
    animation: eIn 0.35s cubic-bezier(0.16,1,0.3,1);
}

.otp-header {
    text-align: center;
    margin-bottom: 18px;
}

.otp-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .otp-icon i {
        font-size: 1.4rem;
        color: var(--primary);
    }

.otp-timer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-bottom: 14px;
    font-weight: 600;
}

    .otp-timer span {
        color: var(--danger);
        font-weight: 800;
        font-size: 1rem;
    }

.otp-buttons {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

    .otp-buttons .btn-main {
        flex: 1;
    }

.btn-info-gw {
    background: linear-gradient(135deg,#0891b2,#0e7490);
}

    .btn-info-gw:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(8,145,178,0.35);
    }

/* Bill Modal */
.bill-modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: eIn 0.35s cubic-bezier(0.16,1,0.3,1);
}

    .bill-modal-box img {
        width: 100%;
        height: auto;
        border-radius: var(--radius-sm);
    }

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width:768px) {
    .page-wrap {
        padding: 16px 10px 40px;
    }

    .card-inner {
        padding: 24px 18px;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .otp-buttons {
        flex-direction: column;
    }

    .btn-half {
        width: 100%;
        display: block;
        margin-bottom: 8px;
    }
}

