/* === RESET & BASIS === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #fdf8f2;
    color: #333;
    line-height: 1.6;
}

/* === LAYOUT === */
.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* === LOGO === */
.logo {
    display: block;
    max-width: 80px;
    height: auto;
    margin: 0 auto 30px auto;
}

/* === TYPOGRAPHY === */
h2 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.tagline-inline {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-style: italic;
}

.form-group {
    margin-bottom: 10px;
}

label {
    display: block;
    font-weight: 600;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus {
    outline: none;
    border-color: #152F4A;
}

/* === RADIO BUTTONS === */
.radio-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding: 12px 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: normal;
}

.radio-label:hover {
    border-color: #152F4A;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
}

.radio-label input[type="radio"]:checked + span {
    color: #152F4A;
    font-weight: 600;
}

/* === BUTTONS === */
.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 15px 30px;
    background: #152F4A;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

/* === CLAIM CARD === */
.claim-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.claim-meta {
    margin-top: 15px;
}

.claim-meta p {
    margin-bottom: 8px;
    color: #555;
}

/* === CLAIM PREVIEW (confirm page) === */
.claim-preview {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* === CLAIM BOX (shared style) === */
.claim-box {
    position: relative;
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    color: #152F4A;
    text-align: left;
    padding: 30px 15px 10px 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #152F4A;
}

img.claim-box-quote {
    position: absolute;
    top: 15px;
    left: 18px;
    width: 15px;
    height: 15px;
    opacity: 0.4;
    object-fit: contain;
    pointer-events: none;
}

.claim-box-deadline {
    font-size: 0.75rem;
    font-weight: 400;
    font-style: normal !important;
    color: #666;
    margin-top: 4px;
}

/* === QR SECTION === */
#qr-section {
    text-align: center;
    margin-bottom: 20px;
}

.qr-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#qr-code {
    margin: 0 auto;
    display: inline-block;
}

.qr-role-label-container {
    width: 75%;
    margin: 0 auto;
    padding: 10px 0;
}

.qr-role-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 5px;
    margin-top: 15px;
    line-height: 1.4;
}

.qr-timer {
    font-size: 2rem;
    font-weight: 700;
    color: #4a90d9;
    margin: 0;
}

.confirm-form {
    margin-top: 20px;
}

.copy-confirm-text {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #666;
}

.copy-confirm-link-container {
    margin-top: -10px;
    margin-bottom: 10px;
}

.copy-btn-small {
    padding: 4px 10px;
    font-size: 0.8rem;
    background: #152F4A;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copy-btn-small:hover {
    background: #1e3d5a;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background: #acbbc8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background: #5a6268;
}

.button-group {
    display: flex;
    gap: 10px;
}

.button-group .btn-secondary {
    flex: 1;
}

.button-group .btn-primary {
    flex: 8;
}

/* === RECEIPT STYLE === */
.receipt {
    background: #fff;
    padding: 20px;
    color: #1a1a1a;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    position: relative;
    border-radius: 12px;
}

.receipt-header {
    text-align: center;
    margin-bottom: 5px;
}

.receipt-logo {
    width: 60px;
    height: auto;
}

.receipt-claim-container {
    position: relative;
    margin: 15px 0;
}

.receipt-parties {
    text-align: center;
    font-size: 11px;
    margin: 20px 0;
    line-height: 2;
    text-transform: uppercase;
    color: #444;
}

.receipt-parties strong {
    background: #f0f0f0;
    padding: 2px 6px;
    color: #000;
}

.receipt-data {
    margin-top: 25px;
    font-size: 11px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.receipt-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.receipt-status {
    background: #152F4A;
    color: #fff;
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 4px;
}

.receipt-status.status-correct {
    background: #28a745;
}

.receipt-status.status-incorrect {
    background: #dc3545;
}

.receipt-status.status-cancelled {
    background: #f0ad4e;
    color: #333;
}

.receipt-footer {
    text-align: center;
    margin-top: 30px;
}

.receipt-quote {
    font-size: 10px;
    font-style: italic;
    color: #888;
    line-height: 1.6;
    margin-bottom: 10px;
}

.receipt-brand {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #bbb;
}

/* === SHARE BUTTONS === */
.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.share-btn-full {
    grid-column: 1 / -1;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 400;
    cursor: pointer;
    background: #152F4A;
    color: white;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.9;
}

.share-icon {
    font-size: 1.1rem;
}

.share-whatsapp {
    background: #25D366;
}

.share-facebook {
    background: #1877F2;
}

/* === MESSAGES === */
.message {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.message-success {
    background: #d4edda;
    border: 2px solid #28a745;
}

.message-success h2 {
    color: #28a745;
}

.message-info {
    background: #d1ecf1;
    border: 2px solid #17a2b8;
}

.message-info h2 {
    color: #17a2b8;
}

.message .btn-primary {
    width: auto;
    margin-top: 10px;
}

