* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #030303; /* Extremely dark, barely distinguishable from black */
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app {
    width: 100%;
    max-width: 540px; /* Slightly wider to match proportions */
    padding: 20px;
}

.panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hidden {
    display: none !important;
}

/* Selection Panel Styles */
.generator-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.generator-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
}

.generator-card:hover:not(.disabled) {
    border-color: #02d667;
    background: #161616;
}

.generator-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gen-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.gen-desc {
    color: #888;
    font-size: 13px;
    font-weight: 400;
}

.back-link {
    background: transparent;
    border: none;
    color: #888;
    padding: 0;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    width: auto;
}

.back-link:hover {
    color: #fff;
    background: transparent;
}

/* Form Styles */
#form-panel {
    background-color: #111;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #222;
    align-items: stretch;
}
#form-panel h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 600;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #888;
    font-size: 14px;
    font-weight: 500;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #0a0a0a;
    color: #fff;
    font-size: 15px;
}
.form-group input:focus, .form-group select:focus {
    border-color: #02d667;
    outline: none;
}
#generate-btn {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: none;
    background: #02d667;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}
#generate-btn:hover {
    background: #02c05c;
}

/* Receipt Styles (The exact match) */
.top-notice {
    border: 1px solid #0d2a18;
    background-color: transparent;
    color: #02d667;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.amount {
    color: #02d667;
    font-size: 56px;
    font-weight: 800; /* Extra bold */
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -2px; /* Very tight as in image */
}

.receipt-card {
    background-color: #111111;
    border-radius: 12px;
    width: 100%;
    padding: 24px 28px;
    margin-bottom: 24px;
    border: 1px solid #1a1a1a; /* Faint border */
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pix-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pix-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #02d667;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 800;
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-text .subtitle {
    color: #888888;
    font-size: 12px;
    font-weight: 400;
}

.header-text .title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.status-badge {
    border: 1px solid #0d2a18;
    color: #02d667;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: transparent;
}

.divider {
    height: 1px;
    background-color: #222222;
    margin-bottom: 24px;
    border: none;
}

.divider-thin {
    height: 1px;
    background-color: #1a1a1a;
    width: 100%;
    margin: -4px 0; /* To fit perfectly between the gap */
    border: none;
}

.details {
    display: flex;
    flex-direction: column;
    gap: 22px; /* Spaced out exactly like the image */
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    color: #6a6a6a;
    font-size: 13px;
    font-weight: 400;
}

.detail-value {
    color: #f0f0f0;
    font-size: 14px;
    font-weight: 600; /* Bold values */
    text-align: right;
    max-width: 65%;
    word-break: break-all;
}

.footer-text {
    text-align: center;
    color: #666666;
    font-size: 12px;
    font-weight: 400;
    margin-top: 12px;
}

.action-btn {
    flex: 1;
    padding: 12px 24px;
    background: #1a1a1a;
    color: #888;
    border: 1px solid #333;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #222;
    color: #fff;
    border-color: #444;
}

@media print {
    .hidden-print {
        display: none !important;
    }
}
