        :root {
            --bg1: #f6f9ff;
            --bg2: #e8f0ff;
            --card: #ffffff;
            --accent: #4f46e5;
            --muted: #6b7280;
            --success: #10b981;
        }

        * {
            box-sizing: border-box
        }

        body {
            margin: 0;
            font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
            background: linear-gradient(145deg, var(--bg1), var(--accent));
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            color: #0f172a;
        }

        .card {
            width: 100%;
            max-width: 480px;
            background: var(--card);
            border-radius: 14px;
            box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
            padding: 20px;
            border: 1px solid rgba(15, 23, 42, 0.03);
        }

        .header {
            text-align: center;
            gap: 12px;
            margin-bottom: 18px;
        }

        .logo {
            text-align: center;
            width: 100%;
        }

        .logo img {
            width: 40%;
        }

        h1 {
            font-size: 16px !important;
            margin: 0;
        }

        p.lead {
            margin: 4px 0 0;
            color: var(--muted);
            font-size: 13px
        }

        form {
            margin-top: 12px
        }

        .field {
            display: flex;
            flex-direction: column;
            margin-bottom: 12px;
            width: 100%;
        }

        label {
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 6px
        }


        input[type="text"],
        input[type="tel"],
        input[type="date"],
        select {
            padding: 12px 14px;
            border-radius: 10px;
            border: 1px solid rgba(15, 23, 42, 0.08);
            font-size: 16px;
            outline: none;
            transition: box-shadow .15s, border-color .15s;
            background: linear-gradient(180deg, #ffffff, #fbfdff);
            font-weight: 500;
        }

        input:focus,
        select:focus {
            box-shadow: 0 6px 18px rgba(79, 70, 229, 0.12);
            border-color: var(--accent)
        }

        select option {
            font-size: 16px;
            font-weight: 400;
            border-bottom: 1px solid #d1d5db;
            padding: 10px;
        }

        .hint {
            font-size: 12px;
            color: var(--accent);
            margin-top: 6px
        }

        .row {
            display: flex;
            gap: 12px;
            overflow: hidden;
            width: 100%;
        }

        .row .field {
            flex: 1;
            width: 200px;
        }

        .actions {
            display: flex;
            gap: 10px;
            align-items: center;
            margin-top: 16px
        }

        .primary {
            background: linear-gradient(90deg, var(--accent), #06b6d4);
            color: white;
            border: none;
            padding: 12px 16px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 15px;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.12);
        }

        button.secondary {
            background: transparent;
            border: 1px solid rgba(15, 23, 42, 0.06);
            padding: 10px 14px;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            color: var(--muted)
        }

        .small {
            font-size: 13px;
            color: var(--muted)
        }

        @media (max-width:520px) {
            .card {
                padding: 20px
            }

            .header h1{
                font-size: 16px
            }

            .row {
                flex-direction: column
            }

            .row .field {
                flex: 1;
                width: 100%;
            }
            input[type="date"]{
                width: 100%;
            }
        }

        :root {
            --bg: #f4f7fb;
            --card: #ffffff;
            --accent: #4f46e5;
            --muted: #6b7280;
            --glass: rgba(79, 70, 229, 0.08);
            --radius: 14px;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
        }

        * {
            box-sizing: border-box
        }

        body {
            margin: 0;
            background: linear-gradient(180deg, var(--bg), #eef2ff);
            padding: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh
        }

        .receipt {
            width: 480px;
            background: linear-gradient(180deg, #ffffff, #fbfdff);
            border-radius: 18px;
            padding: 22px;
            border: 1px solid rgba(16, 24, 40, 0.04);
            box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06)
        }

        .receipt .head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px
        }

        .clinic {
            font-weight: 700
        }

        .meta {
            color: var(--muted);
            font-size: 13px;
            width: 100%;
            float: left;
            padding: 0px 1px 6px 1px;
        }

        .line {
            height: 1px;
            background: linear-gradient(90deg, rgba(16, 24, 40, 0.04), transparent);
            margin: 14px 0;
            border-radius: 3px
        }

        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px
        }

        .info-item {
            background: linear-gradient(180deg, #fbfdff, #ffffff);
            padding: 0px 5px;
            border-radius: 5px;
            border: 1px solid rgba(16, 24, 40, 0.03)
        }

        .info-item b {
            display: block;
            font-size: 13px;
            margin-bottom: 6px
        }

        .info-item span {
            color: var(--muted);
            font-size: 13px
        }

        .footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 18px
        }

        .small {
            font-size: 12px;
            color: var(--muted)
        }

        .btn {
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            font-size: 13px;
            gap: 8px;
            padding: 10px 14px;
            border-radius: 10px;
            border: 0;
            background: var(--accent);
            color: white;
            cursor: pointer;
            font-weight: 600
            
        
        }
        hr{
            border: 1px solid #4d48e5;
        }
        .text-right {
            text-align: right !important;
        }
        .guidelines{
            margin-bottom: 10px;
        }
        .guidelines h4{
        margin: 0px 0;
        font-size: 16px;
        }
        .guidelines ol{
            margin: 5px 0;
            padding: 0 15px;
            font-size: 13px;
        }
        .guidelines ol li{
            padding: 2px 0;
        }
        .error{
            font-size: 13px;
            background-color: #a5061b;
            color: #fff;
            padding: 2px 5px;
            border-radius: 5px;
        }
        .text-center{
            text-align: center;
        }
        