
        .api-wrapper {
            max-width: 900px;
        }

        .api-card {
            background: white;
            border-radius: 18px;
            padding: 40px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
        }

        .title {
            font-weight: 700;
            font-size: 22px;
            margin-bottom: 5px;
        }

        .subtitle {
            color: #6c757d;
            font-size: 14px;
            margin-bottom: 30px;
        }

        .section-title {
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1px;
            color: #6c757d;
            margin-bottom: 10px;
            text-transform: uppercase;
        }

        .form-control {
            border-radius: 10px;
            padding: 12px;
            border: 1px solid #e6e8ec;
        }

        .form-control:focus {
            border-color: #4f7cff;
            box-shadow: 0 0 0 3px rgba(79, 124, 255, .08);
        }

        /* SERVICES GRID */

        .service-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 14px;
        }

        @media(max-width:768px) {

            .service-grid {
                grid-template-columns: repeat(2, 1fr);
            }

        }

        /* SERVICE CARD */

        .service-card {
            border: 1px solid #e6e8ec;
            border-radius: 12px;
            padding: 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: .25s;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
        }

        .service-card:hover {
            border-color: #4f7cff;
            background: #f9fbff;
        }

        .service-card.active {
            border-color: #4f7cff;
            background: #f1f5ff;
        }

        .service-name {
            font-weight: 600;
            font-size: 14px;
        }

        /* TOGGLE SWITCH */

        .toggle-switch {
            position: relative;
            width: 42px;
            height: 22px;
        }

        .toggle-switch input {
            display: none;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            background: #d1d5db;
            border-radius: 30px;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            transition: .3s;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 3px;
            bottom: 3px;
            background: white;
            transition: .3s;
            border-radius: 50%;
        }

        input:checked+.slider {
            background: #4f7cff;
        }

        input:checked+.slider:before {
            transform: translateX(20px);
        }

        /* BUTTON */

        .submit-btn {
            padding: 14px;
            border-radius: 12px;
            font-weight: 600;
            background: #4f7cff;
            border: none;
        }

        .submit-btn:hover {
            background: #3b63e6;
        }

        .loading-spinner {
            display: none;
        }

        .success-box {
            display: none;
            background: #e8f7ee;
            color: #198754;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 20px;
        }






    :root {
        --primary-dark: var(--primary);
        --primary-soft: var(--secondary);
        --surface: #ffffff;
        --surface-alt: #f8f9fb;
        --border: #e4e7ed;
        --text: #1a1d23;
        --text-muted: #6b7280;
        --success: #10b981;
        --success-soft: rgba(16, 185, 129, .1);
        --radius: 14px;
        --radius-sm: 8px;
        --shadow: 0 4px 24px rgba(0, 0, 0, .07);
        --shadow-hover: 0 8px 32px rgba(0, 0, 0, .12);
        --transition: .2s cubic-bezier(.4, 0, .2, 1);
    }

    .api-wrapper {
        max-width: 780px;
        color: var(--text);
    }

    .api-card {
        background: var(--surface);
        border-radius: 20px;
        border: 1px solid var(--border);
        padding: 24px 32px;
        position: relative;
        overflow: hidden;
    }

    .api-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary) 0%, #ff6b6b 100%);
    }

    .card-header-block {
        margin-bottom: 16px;
    }

    .card-title {
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--primary);
        letter-spacing: -.3px;
        margin-bottom: 4px;
    }

    .card-subtitle {
        font-size: .85rem;
        color: var(--text-muted);
        line-height: 1.5;
    }

    .success-box {
        display: none;
        background: var(--success-soft);
        border: 1px solid var(--success);
        color: var(--success);
        border-radius: var(--radius-sm);
        padding: 10px 14px;
        font-size: .875rem;
        font-weight: 500;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: .68rem;
        font-weight: 600;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--text-muted);
        margin-bottom: 10px;
        padding-bottom: 6px;
        border-bottom: 1px solid var(--border);
    }

    .form-label {
        font-size: .78rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 4px;
    }

    .form-control {
        font-size: .85rem;
        border: 1.5px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        transition: border-color var(--transition), box-shadow var(--transition);
        background: var(--surface);
        color: var(--text);
        width: 100%;
        box-sizing: border-box;
    }

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(230, 57, 70, .12);
        outline: none;
    }

    .form-control.is-invalid {
        border-color: #c1121f !important;
        background-color: rgba(193, 18, 31, .02);
    }

    .form-control.is-invalid:focus {
        box-shadow: 0 0 0 3px rgba(193, 18, 31, .1) !important;
    }

    textarea.form-control {
        resize: vertical;
        min-height: 76px;
    }

    .error-message,
    .service-error,
    .policy-error,
    .pin-error {
        font-size: .73rem;
        color: #c1121f !important;
        margin-top: 4px;
        display: none;
    }

    .error-message.show,
    .service-error.show,
    .policy-error.show,
    .pin-error.show {
        display: block !important;
    }

    .service-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 8px;
    }

    .service-card {
        border: 1.5px solid var(--border);
        border-radius: var(--radius);
        padding: 12px 10px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
        background: var(--surface);
        user-select: none;
    }

    .service-card:hover {
        border-color: var(--primary);
        background: var(--primary-soft);
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }

    .service-card.active {
        border-color: var(--primary);
        background: var(--primary-soft);
        box-shadow: 0 0 0 3px rgba(230, 57, 70, .1);
    }

    .service-name {
        font-size: .78rem;
        font-weight: 600;
        text-align: center;
        color: var(--text);
    }

    .toggle-switch {
        position: relative;
        display: inline-block;
        width: 38px;
        height: 20px;
    }

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .slider {
        position: absolute;
        inset: 0;
        background: #d1d5db;
        border-radius: 20px;
        cursor: pointer;
        transition: background var(--transition);
    }

    .slider::before {
        content: '';
        position: absolute;
        width: 14px;
        height: 14px;
        left: 3px;
        top: 3px;
        background: #fff;
        border-radius: 50%;
        transition: transform var(--transition);
        box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    }

    input:checked+.slider {
        background: var(--primary);
    }

    input:checked+.slider::before {
        transform: translateX(18px);
    }

    /* PIN inputs */
    .pin-input {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.35rem !important;
        text-align: center !important;
        margin: 0 4px !important;
        border-radius: var(--radius-sm) !important;
        border: 1.5px solid var(--border) !important;
        transition: border-color var(--transition), box-shadow var(--transition) !important;
        padding: 0 !important;
        -webkit-text-security: disc;
        box-sizing: border-box !important;
    }

    .pin-input:focus {
        border-color: var(--primary) !important;
        box-shadow: 0 0 0 3px rgba(230, 57, 70, .12) !important;
        outline: none !important;
    }

    .pin-wrapper {
        margin-top: 12px;
    }

    .pin-error {
        font-size: .75rem;
        color: var(--primary) !important;
        text-align: center;
        margin-top: 4px;
        display: none;
    }

    /* PIN Setup Modal */
    .pin-modal-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 10000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    .pin-modal-backdrop.open {
        display: flex;
    }

    body.modal-open {
        overflow: hidden;
    }

    .pin-modal {
        background: var(--surface);
        border-radius: 28px;
        width: 100%;
        max-width: 460px;
        box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
        animation: pinModalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        overflow: hidden;
        border: 1px solid rgba(230, 57, 70, 0.2);
        display: flex;
        flex-direction: column;
        max-height: 90vh;
    }

    @keyframes pinModalIn {
        from {
            opacity: 0;
            transform: scale(0.9) translateY(30px);
        }

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

    .pin-modal-header {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        padding: 36px 24px 28px;
        text-align: center;
        color: white;
        flex-shrink: 0;
    }

    .pin-modal-icon {
        width: 90px;
        height: 90px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        border: 3px solid rgba(255, 255, 255, 0.3);
    }

    .pin-modal-icon svg {
        width: 45px;
        height: 45px;
        stroke: white;
        stroke-width: 2;
    }

    .pin-modal-header h3 {
        font-size: 1.8rem;
        font-weight: 700;
        margin: 0 0 10px;
        color: white;
    }

    .pin-modal-header p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.95);
        margin: 0;
        line-height: 1.5;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .pin-modal-body {
        padding: 32px 28px 28px;
        background: var(--surface);
        overflow-y: auto;
        flex: 1 1 auto;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) var(--border);
    }

    .pin-features {
        background: var(--surface-alt);
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 24px;
        border: 1px solid var(--border);
    }

    .pin-feature-item {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 12px 0;
    }

    .pin-feature-item:not(:last-child) {
        border-bottom: 1px solid var(--border);
    }

    .pin-feature-icon {
        width: 40px;
        height: 40px;
        background: var(--primary-soft);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .pin-feature-icon svg {
        width: 22px;
        height: 22px;
        stroke: var(--primary);
    }

    .pin-feature-text {
        font-size: 0.9rem;
        color: var(--text);
        line-height: 1.5;
    }

    .pin-feature-text strong {
        color: var(--primary);
        display: block;
        margin-bottom: 4px;
        font-size: 1rem;
    }

    .pin-warning {
        background: rgba(230, 57, 70, 0.05);
        border-left: 4px solid var(--primary);
        padding: 16px 18px;
        border-radius: 12px;
        margin-bottom: 24px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .pin-warning svg {
        width: 22px;
        height: 22px;
        stroke: var(--primary);
        flex-shrink: 0;
        margin-top: 2px;
    }

    .pin-warning p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--text);
        line-height: 1.6;
    }

    .pin-warning strong {
        color: var(--primary);
    }

    .pin-modal-footer {
        padding: 0 28px 32px 28px;
        flex-shrink: 0;
    }

    .btn-pin-setup {
        width: 100%;
        padding: 16px;
        border-radius: 50px;
        border: none;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: #fff;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all var(--transition);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
    }

    .btn-pin-setup:hover {
        opacity: 0.95;
        transform: translateY(-2px);
        color: #fff;
        text-decoration: none;
    }

    .pin-note {
        text-align: center;
        margin-top: 16px;
        color: var(--text-muted);
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .pin-note svg {
        width: 16px;
        height: 16px;
        stroke: var(--text-muted);
    }

    /* Policy modal */
    .policy-modal-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .5);
        z-index: 9990;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    .policy-modal-backdrop.open {
        display: flex;
    }

    .policy-modal {
        background: var(--surface);
        border-radius: 18px;
        width: 100%;
        max-width: 600px;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
        animation: modalIn .25s cubic-bezier(.34, 1.56, .64, 1);
    }

    @keyframes modalIn {
        from {
            opacity: 0;
            transform: scale(.94) translateY(16px);
        }

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

    .policy-modal-header {
        padding: 18px 24px 14px;
        border-bottom: 1px solid var(--border);
    }

    .policy-modal-header h5 {
        font-size: 1rem;
        font-weight: 700;
        margin: 0;
        color: var(--text);
    }

    .policy-modal-body {
        padding: 18px 24px;
        overflow-y: auto;
        flex: 1;
        font-size: .85rem;
        line-height: 1.7;
        color: var(--text);
        scroll-behavior: smooth;
    }

    .policy-modal-body h6 {
        font-weight: 700;
        margin-top: 16px;
        margin-bottom: 4px;
        font-size: .85rem;
    }

    .policy-modal-footer {
        padding: 14px 24px;
        border-top: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

    .scroll-hint {
        font-size: .73rem;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .policy-actions {
        display: flex;
        gap: 10px;
    }

    .btn-policy-decline {
        padding: 8px 18px;
        border-radius: var(--radius-sm);
        border: 1.5px solid var(--border);
        background: transparent;
        font-size: .78rem;
        font-weight: 600;
        color: var(--text-muted);
        cursor: pointer;
        transition: background var(--transition), border-color var(--transition);
    }

    .btn-policy-decline:hover {
        background: var(--surface-alt);
        border-color: #c0c5ce;
    }

    .btn-policy-accept {
        padding: 8px 18px;
        border-radius: var(--radius-sm);
        border: none;
        background: var(--primary);
        color: #fff;
        font-size: .78rem;
        font-weight: 600;
        cursor: pointer;
        transition: background var(--transition), opacity var(--transition);
    }

    .btn-policy-accept:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

    .btn-policy-accept:not(:disabled):hover {
        background: var(--primary-dark);
    }

    .policy-row {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 14px;
        border: 1.5px solid var(--border);
        border-radius: var(--radius-sm);
        background: var(--surface-alt);
        margin-bottom: 14px;
        cursor: pointer;
        transition: border-color var(--transition), background var(--transition);
    }

    .policy-row:hover {
        border-color: var(--primary);
        background: var(--primary-soft);
    }

    .policy-row.accepted {
        border-color: var(--success);
        background: var(--success-soft);
    }

    .policy-row.declined {
        border-color: #f59e0b;
        background: rgba(245, 158, 11, .07);
    }

    .policy-row.declined .policy-row-action {
        color: #b45309;
        font-weight: 600;
        font-size: .73rem;
    }

    .policy-badge {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 2px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background var(--transition), border-color var(--transition);
    }

    .policy-row.accepted .policy-badge {
        background: var(--success);
        border-color: var(--success);
    }

    .policy-row-text {
        font-size: .8rem;
        font-weight: 500;
        flex: 1;
    }

    .policy-row-action {
        font-size: .73rem;
        color: var(--text-muted);
        white-space: nowrap;
    }

    .policy-row.accepted .policy-row-action {
        color: var(--success);
        font-weight: 600;
    }

    .policy-error {
        font-size: .75rem;
        color: var(--primary);
        margin-top: -10px;
        margin-bottom: 12px;
        display: none;
    }

    .policy-error.show {
        display: block;
    }

    .btn-submit {
        width: 100%;
        padding: 11px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: #fff;
        border: none;
        border-radius: var(--radius-sm);
        font-size: .88rem;
        font-weight: 700;
        letter-spacing: .02em;
        cursor: pointer;
        transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 4px;
    }

    .btn-submit:not(:disabled):hover {
        opacity: .92;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(230, 57, 70, .35);
    }

    .btn-submit:disabled {
        opacity: .55;
        cursor: not-allowed;
        transform: none;
    }

    .btn-submit .loading-spinner {
        display: none;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        margin-right: -8px;
        margin-left: -8px;
    }

    .row>[class*="col-"] {
        margin-bottom: .5rem;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-right: 8px;
        padding-left: 8px;
        box-sizing: border-box;
    }

    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 8px;
        padding-left: 8px;
        box-sizing: border-box;
    }

    .validation-hint {
        font-size: .7rem;
        color: var(--text-muted);
        margin-top: 2px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .validation-hint.valid {
        color: var(--success);
    }

    .validation-hint.invalid {
        color: var(--primary);
    }

    .validation-hint svg {
        width: 12px;
        height: 12px;
    }

    /* Status Badge Styles */
    .status-badge {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: .75rem;
        font-weight: 600;
        margin-top: 8px;
    }

    .status-pending {
        background: #fef3c7;
        color: #d97706;
    }

    .status-approved {
        background: #d1fae5;
        color: #059669;
    }

    .status-declined {
        background: #fee2e2;
        color: #dc2626;
    }

    .info-card {
        background: var(--surface-alt);
        border-radius: var(--radius);
        padding: 16px;
        margin-top: 16px;
        border: 1px solid var(--border);
    }

    .info-row {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid var(--border);
        font-size: .85rem;
    }

    .info-row:last-child {
        border-bottom: none;
    }

    .info-label {
        font-weight: 600;
        color: var(--text-muted);
    }

    .info-value {
        color: var(--text);
        text-align: right;
    }

    /* Compact Audit Log Styles */
    .audit-card-compact { 
        background: white; 
        border-radius: 16px; 
        padding: 12px; 
        box-shadow: 0 2px 8px rgba(0,0,0,0.04); 
        border: 1px solid #e9ecef; 
        margin-top: 20px;
    }
    .audit-header-compact { 
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid #e9ecef;
    }
    .audit-title-compact { 
        font-weight: 600; 
        font-size: 13px; 
        display: flex; 
        align-items: center; 
        gap: 6px; 
    }
    .audit-badge-compact { 
        background: #e7f5ff; 
        color: #1971c2; 
        padding: 2px 8px; 
        border-radius: 20px; 
        font-size: 10px; 
        font-weight: 600; 
    }
    .audit-table-compact { 
        width: 100%; 
        border-collapse: collapse; 
        font-size: 11px; 
    }
    .audit-table-compact th { 
        text-align: left; 
        padding: 6px 4px; 
        color: #6c757d; 
        font-weight: 600; 
        font-size: 10px; 
        text-transform: uppercase; 
        letter-spacing: 0.3px; 
        border-bottom: 1px solid #e9ecef;
    }
    .audit-table-compact td { 
        padding: 8px 4px; 
        border-bottom: 1px solid #f1f3f5;
        vertical-align: middle;
    }
    .action-tag-compact { 
        background: #e7f5ff; 
        color: #1971c2; 
        padding: 2px 8px; 
        border-radius: 20px; 
        font-size: 10px; 
        font-weight: 600; 
        display: inline-block; 
        white-space: nowrap;
    }
    .payload-btn-compact { 
        background: none; 
        border: 1px solid #dee2e6; 
        border-radius: 16px; 
        padding: 2px 8px; 
        font-size: 10px; 
        color: #495057; 
        cursor: pointer; 
        transition: 0.2s; 
        white-space: nowrap;
    }
    .payload-btn-compact:hover { 
        background: #e9ecef; 
    }
    
    /* Row Modal for Compact */
    .row-modal-compact { 
        position: absolute; 
        left: 10px; 
        right: 10px; 
        background: white; 
        border-radius: 12px; 
        box-shadow: 0 10px 25px rgba(0,0,0,0.15); 
        border: 1px solid #e9ecef; 
        z-index: 100; 
        overflow: hidden; 
        display: none; 
    }
    .row-modal-compact.show { 
        display: block; 
    }
    .modal-header-compact { 
        padding: 8px 12px; 
        background: #f8f9fa; 
        border-bottom: 1px solid #e9ecef; 
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
    }
    .modal-content-compact { 
        padding: 12px; 
        max-height: 300px; 
        overflow-y: auto; 
    }
    .payload-json-compact { 
        background: #1e1e1e; 
        color: #d4d4d4; 
        padding: 12px; 
        border-radius: 8px; 
        font-size: 11px; 
        white-space: pre-wrap; 
        word-break: break-word; 
        margin: 0; 
        font-family: monospace;
    }
    .close-modal-compact { 
        background: none; 
        border: none; 
        font-size: 18px; 
        color: #868e96; 
        cursor: pointer; 
        padding: 0 4px; 
        line-height: 1;
    }
    .close-modal-compact:hover { 
        color: #212529; 
    }

    @media (max-width: 576px) {
        .api-card {
            padding: 20px 16px;
        }

        .service-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .pin-input {
            width: 44px !important;
            height: 44px !important;
            font-size: 1.2rem !important;
        }

        .pin-modal-header h3 {
            font-size: 1.5rem;
        }

        .pin-modal-body {
            padding: 24px 20px;
        }

        .pin-modal-footer {
            padding: 0 20px 28px;
        }

        .col-md-6 {
            flex: 0 0 100%;
            max-width: 100%;
        }
        
        /* Swap order on mobile */
        .order-md-1 {
            order: 2;
        }
        .order-md-2 {
            order: 1;
        }
    }

    @media (max-height: 600px) {
        .pin-modal {
            max-height: 95vh;
        }

        .pin-modal-header {
            padding: 20px 20px 16px;
        }

        .pin-modal-icon {
            width: 60px;
            height: 60px;
            margin-bottom: 12px;
        }

        .pin-modal-icon svg {
            width: 30px;
            height: 30px;
        }
    }
