:root {
            --nagad-orange: #f6921e;
            --nagad-red: #ec1c24;
            --nagad-gradient: linear-gradient(90deg, #f6921e 0%, #ec1c24 100%);
            --bg-color: #d1d1d1;
        }

        body {
            font-family: 'Hind Siliguri', sans-serif;
            background-color: var(--bg-color);
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            -webkit-user-select: none;
            user-select: none;
        }

        input,
        textarea,
        select {
            -webkit-user-select: text !important;
            user-select: text !important;
        }

        .mobile-shell {
            width: 100%;
            max-width: 400px;
            background: #111;
            border-radius: 35px;
            padding: 12px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
            position: relative;
        }

        .app-frame {
            background: #fff;
            width: 100%;
            min-height: 750px;
            border-radius: 25px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .nagad-header-bar {
            background: var(--nagad-gradient);
            color: white;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .page-view {
            display: none;
            padding: 25px;
            animation: fadeIn 0.4s;
            flex-grow: 1;
            flex-direction: column;
            overflow-y: auto;
        }

        .active-view {
            display: flex;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-label {
            font-weight: 600;
            font-size: 15px;
            color: #444;
            margin-bottom: 8px;
        }

        .form-control,
        .form-select {
            border: 1px solid #ddd;
            padding: 12px;
            border-radius: 8px;
            font-size: 16px;
            margin-bottom: 15px;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: var(--nagad-orange);
            box-shadow: 0 0 5px rgba(246, 146, 30, 0.2);
        }

        .btn-nagad {
            background: var(--nagad-gradient);
            color: white;
            border: none;
            padding: 12px;
            border-radius: 50px;
            width: 100%;
            margin-top: auto;
            margin-bottom: 20px;
            font-weight: 700;
            transition: 0.3s;
            box-shadow: 0 4px 10px rgba(236, 28, 36, 0.3);
        }

        .btn-nagad:active {
            transform: scale(0.98);
            opacity: 0.9;
        }

        .summary-card {
            background: #fff8f8;
            border: 1px dashed var(--nagad-orange);
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 20px;
        }

        .sum-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            border-bottom: 1px solid #eee;
            padding-bottom: 5px;
            font-size: 14px;
        }

        .schedule-table {
            width: 100%;
            font-size: 12px;
            margin-top: 10px;
        }

        .schedule-table th {
            background: #f4f4f4;
            padding: 8px;
            text-align: left;
        }

        .schedule-table td {
            padding: 8px;
            border-bottom: 1px solid #eee;
        }

        .nagad-input-area {
            background: #fff;
            border: 2px solid var(--nagad-orange);
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            margin-bottom: 20px;
            margin-top: 20px;
        }

        .btn-paste {
            background: #f6921ed1;
            color: #333;
            border: 1px solid #ccc;
            padding: 6px 12px;
            border-radius: 50px;
            font-size: 12px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 12px;
            transition: 0.2s;
        }

        .btn-paste:hover {
            background: #e2e2e2;
        }

        .btn-cancel {
            border: 1px solid #ddd;
            background: white;
            color: #555;
            padding: 10px 20px;
            border-radius: 8px;
            flex: 1;
        }

        .btn-confirm {
            background: #e91e63;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            flex: 1;
        }

        /* ===== TOAST ===== */
        #toast-container {
            position: fixed;
            top: 16px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 99999;
            display: flex;
            flex-direction: column;
            gap: 10px;
            width: 88%;
            max-width: 360px;
            pointer-events: none;
        }

        .toast-msg {
            width: 100%;
            display: flex;
            align-items: stretch;
            border-radius: 20px;
            overflow: hidden;
            pointer-events: all;
            position: relative;
            font-family: 'Hind Siliguri', sans-serif;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            animation: tIn .45s cubic-bezier(.175, .885, .32, 1.275) both;
            box-shadow: 0 20px 60px rgba(0, 0, 0, .22), 0 4px 15px rgba(0, 0, 0, .12);
        }

        .t-error {
            background: linear-gradient(135deg, rgba(255, 59, 48, .96), rgba(180, 20, 20, .98));
        }

        .t-warning {
            background: linear-gradient(135deg, rgba(255, 159, 10, .96), rgba(200, 110, 0, .98));
        }

        .t-info {
            background: linear-gradient(135deg, rgba(10, 132, 255, .96), rgba(0, 80, 200, .98));
        }

        .t-success {
            background: linear-gradient(135deg, rgba(48, 209, 88, .96), rgba(20, 150, 50, .98));
        }

        .toast-accent {
            width: 5px;
            flex-shrink: 0;
            background: rgba(255, 255, 255, .35);
        }

        .toast-icon-wrap {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 4px 0 14px;
        }

        .toast-icon-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .18);
            border: 1.5px solid rgba(255, 255, 255, .3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }

        .toast-content {
            flex: 1;
            padding: 13px 10px 13px 12px;
            color: #fff;
            min-width: 0;
        }

        .toast-label {
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            opacity: .75;
            margin-bottom: 3px;
        }

        .toast-message {
            font-size: 13.5px;
            font-weight: 600;
            line-height: 1.45;
            color: #fff;
        }

        .toast-x {
            flex-shrink: 0;
            width: 36px;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding-top: 11px;
            cursor: pointer;
            opacity: .6;
            font-size: 15px;
            color: #fff;
            transition: opacity .2s;
        }

        .toast-x:hover {
            opacity: 1;
        }

        .toast-bar {
            position: absolute;
            bottom: 0;
            left: 5px;
            right: 0;
            height: 3px;
            background: rgba(255, 255, 255, .45);
            border-radius: 0 0 20px 0;
            transform-origin: left;
            animation: tBar 3.5s linear forwards;
        }

        .toast-shimmer {
            position: absolute;
            inset: 0;
            background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .08) 50%, rgba(255, 255, 255, 0) 60%);
            background-size: 200% 100%;
            animation: tShimmer 2.5s infinite;
            border-radius: 20px;
            pointer-events: none;
        }

        .t-shake {
            animation: tIn .45s cubic-bezier(.175, .885, .32, 1.275) both, tShake .55s ease .4s;
        }

        .toast-out {
            animation: tOut .35s cubic-bezier(.55, 0, 1, .45) forwards !important;
        }

        @keyframes tIn {
            0% {
                opacity: 0;
                transform: translateY(-30px) scale(.88);
            }

            60% {
                opacity: 1;
                transform: translateY(4px) scale(1.02);
            }

            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes tOut {
            0% {
                opacity: 1;
                transform: translateY(0) scale(1);
                max-height: 90px;
            }

            100% {
                opacity: 0;
                transform: translateY(-16px) scale(.9);
                max-height: 0;
                margin-bottom: -10px;
            }
        }

        @keyframes tBar {
            from {
                width: 100%;
            }

            to {
                width: 0%;
            }
        }

        @keyframes tShimmer {
            0% {
                background-position: -100% 0;
            }

            100% {
                background-position: 200% 0;
            }
        }

        @keyframes tShake {

            0%,
            100% {
                transform: translateX(0);
            }

            18% {
                transform: translateX(-7px);
            }

            36% {
                transform: translateX(7px);
            }

            54% {
                transform: translateX(-4px);
            }

            72% {
                transform: translateX(4px);
            }

            90% {
                transform: translateX(-2px);
            }
        }