/* KartS Order Report Popup styles */
#karts-orp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

#karts-orp-popup {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px 32px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    font-family: inherit;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

#karts-orp-popup h3 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #0f172a;
    font-weight: 700;
}

#karts-orp-popup .karts-orp-sub {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

#karts-orp-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #64748b;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}

#karts-orp-close:hover {
    color: #0f172a;
}

#karts-orp-form input,
#karts-orp-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background: #fff;
    color: #0f172a;
}

#karts-orp-form input:focus,
#karts-orp-form textarea:focus {
    outline: none;
    border-color: #0f172a;
}

#karts-orp-form textarea {
    resize: vertical;
    min-height: 90px;
}

#karts-orp-submit {
    width: 100%;
    padding: 14px;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
    font-family: inherit;
}

#karts-orp-submit:hover {
    background: #1e293b;
}

#karts-orp-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#karts-orp-msg {
    margin: 12px 0 0;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

#karts-orp-msg.success {
    color: #16a34a;
}

#karts-orp-msg.error {
    color: #dc2626;
}

/* Honeypot - hidden from users */
.karts-orp-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 480px) {
    #karts-orp-popup {
        padding: 32px 20px 20px;
    }
    #karts-orp-popup h3 {
        font-size: 20px;
    }
}
