* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Sukhumvit Set', 'Kanit', 'Segoe UI', Tahoma, sans-serif;
        }

        body {
            background-color: #ffffff;
            color: #333333;
            min-height: 100vh;
        }

        /* Container หลัก */
        .container {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            min-height: 100vh;
            background-color: #ffffff;
            display: flex;
            flex-direction: column;
            position: relative;
            padding-bottom: 90px;
        }

        /* Header สีน้ำเงินเข้ม */
        .header {
            background-color: #0b368c;
            color: #ffffff;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            position: relative;
        }

        .btn-back {
            background: none;
            border: none;
            color: #ffffff;
            font-size: 1.2rem;
            cursor: pointer;
            position: absolute;
            left: 20px;
            display: flex;
            align-items: center;
        }

        .header-title {
            width: 100%;
            text-align: center;
            font-size: 1.2rem;
            font-weight: 600;
        }

        /* Content Body */
        .content {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        /* การ์ดสรุปยอดเงินเก็บออม */
        .savings-card {
            background-color: #f4f5f9;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 6px 6px 6px 16px;
        }

        .savings-info {
            display: flex;
            flex-direction: column;
            gap: 6px;
            font-size: 0.92rem;
            color: #333333;
        }

        .amount-highlight {
            color: #0b368c;
            font-weight: 700;
        }

        .btn-my-savings {
            background-color: #0b368c;
            color: #ffffff;
            padding: 24px 16px;
            border-radius: 14px;
            font-size: 0.95rem;
            font-weight: 600;
            text-align: center;
            white-space: nowrap;
            cursor: pointer;
            border: none;
        }

        /* ส่วนคำอธิบาย / รายละเอียด */
        .rules-section {
            font-size: 0.92rem;
            line-height: 1.6;
            color: #555555;
        }

        .rules-title {
            font-weight: 500;
            margin-bottom: 8px;
            color: #444444;
        }

        .rules-list {
            list-style: none;
            padding-left: 0;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .rules-list li {
            position: relative;
            padding-left: 18px;
        }

        .rules-list li::before {
            content: attr(data-num) ".";
            position: absolute;
            left: 0;
            color: #555555;
        }

        /* ปุ่มด้านล่าง (Fixed Bottom) */
        .footer-actions {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 600px;
            padding: 0 20px;
            display: flex;
            gap: 14px;
            background-color: transparent;
        }

        .btn-action-outline {
            flex: 1;
            padding: 12px 0;
            border: 1.5px solid #0b368c;
            background-color: #ffffff;
            color: #0b368c;
            border-radius: 25px;
            font-size: 0.95rem;
            font-weight: 500;
            cursor: pointer;
            text-align: center;
        }

        .btn-action-solid {
            flex: 1;
            padding: 12px 0;
            border: none;
            background-color: #0b368c;
            color: #ffffff;
            border-radius: 25px;
            font-size: 0.95rem;
            font-weight: 500;
            cursor: pointer;
            text-align: center;
        }

        /* ===================================================
           MODAL POPUP (ตรงตามแบบรูป pop up.png เป๊ะๆ)
        =================================================== */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.45);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.25s ease;
            padding: 20px;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-card {
            background-color: #ffffff;
            width: 100%;
            max-width: 420px;
            border-radius: 24px;
            padding: 28px 24px 32px 24px;
            text-align: center;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            transform: scale(0.92);
            transition: all 0.25s ease;
        }

        .modal-overlay.active .modal-card {
            transform: scale(1);
        }

        /* ปุ่มปิด × วงกลมสีเทา */
        .modal-close {
            position: absolute;
            top: 18px;
            right: 18px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: #cccccc;
            color: #ffffff;
            border: none;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            line-height: 1;
            transition: background-color 0.2s;
        }

        .modal-close:hover {
            background-color: #bbbbbb;
        }

        /* ชื่อหัวข้อใน Pop-up */
        .modal-title {
            font-size: 1.3rem;
            font-weight: 500;
            color: #333333;
            margin-bottom: 12px;
        }

        /* ยอดคงเหลือ */
        .modal-balance {
            font-size: 0.9rem;
            color: #555555;
            margin-bottom: 22px;
        }

        .balance-status {
            color: #888888;
        }

        /* กลุ่ม Input + สัญลักษณ์ ฿ */
        .input-group {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 28px;
        }

        .modal-input {
            width: 200px;
            padding: 10px 14px;
            border: 1px solid #cccccc;
            border-radius: 10px;
            font-size: 0.95rem;
            outline: none;
            text-align: center;
            color: #333333;
        }

        .modal-input::placeholder {
            color: #aaaaaa;
            font-size: 0.88rem;
        }

        .modal-input:focus {
            border-color: #999999;
        }

        .currency-symbol {
            font-weight: bold;
            font-size: 1.15rem;
            color: #222222;
        }

        /* ปุ่มยืนยัน สี Gradient ทรงแคปซูล */
        .btn-modal-submit {
            width: 100%;
            max-width: 220px;
            padding: 12px 0;
            border: none;
            border-radius: 30px;
            background: linear-gradient(90deg, #00b10f, #00e061);
            color: #ffffff;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            margin: 0 auto;
            display: block;
            box-shadow: 0 4px 12px rgba(234, 84, 49, 0.25);
            transition: opacity 0.2s;
        }

        .btn-modal-submit:hover {
            opacity: 0.92;
        }