/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f3f4f6;
    color: #111827;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 24px;
}

.container {
    width: 100%;
    max-width: 960px;
    margin: auto;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 90px;
    width: auto;
}

/* Main Content */
.main-content {
    margin-top: 24px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    padding: 32px 32px 28px;
    border: 1px solid #e5e7eb;
}

/* Search Section */
.search-section {
    text-align: left;
}

.search-section h1 {
    color: #111827;
    font-size: 2.3rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.subtitle {
    color: #6b7280;
    font-size: 0.98rem;
    margin-bottom: 20px;
}

/* Rules / info block on landing */
.rules {
    margin-bottom: 22px;
    padding: 14px 16px 12px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.rules h2 {
    font-size: 0.98rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.rules-intro {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 8px;
}

.rules-list {
    list-style: disc;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rules-list li {
    font-size: 0.9rem;
    color: #4b5563;
}

.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
    background: #f9fafb;
    color: #111827;
}

.search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    background: #ffffff;
}

/* Buttons */
.btn {
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
    background: #e5e7eb;
    color: white;
    font-size: 13px;
    padding: 8px 18px;
    color: #374151;
}

.btn-secondary:hover {
    background: #d1d5db;
}

.btn-success {
    background: #16a34a;
    color: white;
    width: 100%;
    margin-top: 10px;
}

.btn-success:hover {
    background: #15803d;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Messages */
.message {
    padding: 14px 20px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: left;
    font-size: 0.9rem;
}

.message-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.message-info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.message-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Results Section */
.results-section {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 22px 20px;
    background: #f9fafb;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.result-header h2 {
    color: #f9fafb;
    font-size: 1.2rem;
    font-weight: 600;
}

.result-content {
    margin-bottom: 18px;
}

.result-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f7fafc;
}

.result-item .label {
    font-weight: 600;
    color: #4b5563;
    min-width: 120px;
}

.result-item .value {
    color: #111827;
}

/* Payment Status */
.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin: 20px 0;
}

.status-paid {
    background: #ecfdf3;
    color: #15803d;
}

.status-pending {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 13px;
}

/* Payment Section */
.payment-info {
    margin-top: 25px;
    padding: 25px;
    background: #f7fafc;
    border-radius: 8px;
}

.payment-info h3 {
    color: #111827;
    margin-bottom: 8px;
}

.payment-amount {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.payment-instruction {
    color: #6b7280;
    margin-bottom: 18px;
}

.crypto-address {
    margin: 20px 0;
}

.crypto-address h4 {
    color: #111827;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.address-box {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #ffffff;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.address-box code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #111827;
    word-break: break-all;
}

.btn-copy {
    padding: 6px 12px;
    background: #111827;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: #030712;
}

.btn-copy:active {
    transform: scale(0.95);
}

/* Verification Section */
.verification-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.verification-section h4 {
    color: #111827;
    margin-bottom: 10px;
}

.small-text {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 15px;
}

.currency-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    outline: none;
    cursor: pointer;
}

.currency-select:focus {
    border-color: #2563eb;
}

.tx-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    margin-bottom: 10px;
    outline: none;
}

.tx-input:focus {
    border-color: #2563eb;
}

/* Loading Spinner */
.spinner {
    text-align: center;
    padding: 40px;
}

.spinner-circle {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner p {
    color: #718096;
    font-weight: 500;
}

/* Footer */
.footer {
    text-align: center;
    color: #6b7280;
    padding: 12px 8px 0;
}

.footer p {
    margin: 2px 0;
    font-size: 12px;
}

/* Currency Selection Buttons */
.payment-notice {
    margin: 25px 0 30px;
    padding: 20px;
    background: #fef2f2;
    border-radius: 10px;
    border: 1px solid #fecaca;
}

.payment-notice h3 {
    color: #111827;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.payment-notice .payment-amount {
    font-size: 1.25rem;
    margin: 12px 0;
    color: #b91c1c;
    font-weight: 700;
}

.payment-notice .payment-instruction {
    color: #6b7280;
    margin-top: 8px;
}

.currency-selection {
    margin-top: 30px;
}

.currency-selection h4 {
    color: #111827;
    margin-bottom: 18px;
    font-size: 1rem;
}

.currency-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-currency {
    padding: 22px 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: #111827;
    font-weight: 600;
    box-shadow: none;
}

.btn-currency:hover {
    background: #f3f4f6;
    border-color: #cbd5e1;
}

.btn-currency:active {
    transform: translateY(0);
}

.btn-currency .currency-icon {
    margin-bottom: 10px;
}

.btn-currency .currency-icon img {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto;
}

.btn-currency .currency-name {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.btn-currency .currency-code {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Payment Summary Section */
.payment-summary {
    margin: 20px 0 30px;
    padding: 20px;
    background: #020617;
    border-radius: 12px;
    border: 1px solid #1f2937;
}

.summary-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .label {
    font-weight: 600;
    color: #e5e7eb;
    min-width: 140px;
}

.summary-item .value {
    color: #f9fafb;
    font-weight: 500;
}

/* Payment Address Section */
.payment-address-section {
    margin-top: 25px;
}

/* Crypto Amount Box */
.crypto-amount-box {
    margin: 25px 0;
    padding: 20px;
    background: radial-gradient(circle at top left, #0f172a, #020617);
    border-radius: 12px;
    border: 2px solid #3b82f6;
}

.crypto-amount-box h4 {
    color: #f9fafb;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.amount-display {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.amount-value {
    flex: 1;
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 10px;
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.amount-number {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
    letter-spacing: 0.5px;
}

.amount-currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3b82f6;
}

.btn-copy-amount {
    padding: 12px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-copy-amount:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-copy-amount:active {
    transform: scale(0.98);
}

.amount-note {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    font-style: italic;
}

.payment-address-section h3 {
    color: #111827;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Make payment page info block more minimal */
.payment-address-section .message-info {
    background: #f9fafb;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.crypto-address-large {
    margin: 25px 0;
}

.crypto-address-large h4 {
    color: #111827;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.address-box-large {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.address-box-large code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #111827;
    word-break: break-all;
    line-height: 1.6;
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.btn-copy-large {
    padding: 12px 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-copy-large:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-copy-large:active {
    transform: scale(0.98);
}

/* Payment Instructions */
.payment-instructions {
    margin: 25px 0;
    padding: 20px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.payment-instructions p {
    margin-bottom: 12px;
    color: #374151;
    font-weight: 500;
}

.payment-instructions ol {
    margin: 15px 0 15px 20px;
    color: #374151;
}

.payment-instructions ol li {
    margin: 8px 0;
    line-height: 1.6;
}

/* FAQ: How to buy crypto */
.faq-buy-crypto {
    margin-top: 18px;
}

.faq-buy-crypto details {
    border-radius: 10px;
    border: 1px solid #1f2937;
    background: #020617;
    padding: 12px 14px;
    cursor: pointer;
}

.faq-buy-crypto summary {
    font-weight: 600;
    color: #f9fafb;
    list-style: none;
}

.faq-buy-crypto summary::-webkit-details-marker {
    display: none;
}

.faq-buy-crypto details[open] {
    background: #111827;
    border-color: #1d4ed8;
}

.faq-content {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Flow sections */
.flow-section {
    animation: fadeIn 0.4s ease;
}

/* Bulk Waiver Section */
.bulk-waiver-section {
    margin-top: 40px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0 25px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #374151;
}

.divider span {
    padding: 0 15px;
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.9rem;
}

.bulk-waiver-card {
    padding: 25px;
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    border: 2px solid #10b981;
    border-radius: 16px;
    text-align: center;
}

.bulk-waiver-card h3 {
    color: #d1fae5;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.bulk-waiver-card p {
    color: #d1fae5;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.bulk-waiver-card p strong {
    color: #6ee7b7;
}

.btn-bulk {
    padding: 16px 32px;
    background: #10b981;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-bulk:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

.bulk-payment-info {
    padding: 25px;
    background: #020617;
    border: 2px solid #10b981;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.bulk-payment-info h3 {
    color: #6ee7b7;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.bulk-payment-info p {
    color: #e5e7eb;
    font-size: 1rem;
    line-height: 1.6;
}

/* Delete Data Section */
.delete-data-section {
    margin-top: 30px;
    padding: 25px;
    background: #020617;
    border: 2px solid #dc2626;
    border-radius: 12px;
    text-align: center;
}

.delete-data-section h3 {
    color: #fca5a5;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.delete-data-section p {
    color: #e5e7eb;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-delete {
    padding: 14px 28px;
    background: #dc2626;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-delete:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.btn-delete:active {
    transform: scale(0.98);
}

.btn-delete:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 16px;
    }

    .logo {
        height: 70px;
    }

    .main-content {
        padding: 20px 18px 18px;
    }

    .search-container {
        flex-direction: column;
    }

    .search-section h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .result-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .result-item {
        flex-direction: column;
        gap: 5px;
    }

    .result-item .label {
        min-width: auto;
    }

    .payment-info {
        padding: 18px;
    }

    .currency-buttons {
        grid-template-columns: 1fr;
    }

    .btn-currency {
        padding: 25px 15px;
    }

    .summary-item {
        flex-direction: column;
        gap: 5px;
    }

    .summary-item .label {
        min-width: auto;
    }

    .amount-display {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-copy-amount {
        width: 100%;
        text-align: center;
    }

    .address-box {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-copy {
        width: 100%;
        text-align: center;
    }

    .address-box-large code {
        font-size: 12px;
    }
}


/* ================================
   Dark Theme Overrides (global)
   ================================ */

body {
    background: #020617;
    color: #e5e7eb;
}

.main-content {
    background: #020617;
    border-color: #1f2937;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.search-section h1 {
    color: #f9fafb;
}

.subtitle {
    color: #9ca3af;
}

.rules {
    background: #020617;
    border-color: #1f2937;
}

.rules-intro,
.rules-list li {
    color: #e5e7eb;
}

.result-card {
    background: #020617;
    border-color: #1f2937;
}

.result-header {
    border-bottom-color: #111827;
}

.result-item .label {
    color: #9ca3af;
}

.result-item .value {
    color: #f9fafb;
}

.status-paid {
    background: #022c22;
    color: #6ee7b7;
}

.status-pending {
    background: #450a0a;
    color: #fecaca;
    border-color: #b91c1c;
}

.payment-notice {
    background: #111827;
    border-color: #b91c1c;
}

.payment-notice h3,
.payment-summary .label,
.payment-summary .value,
.payment-address-section h3,
.crypto-address-large h4,
.verification-section h4,
.currency-selection h4 {
    color: #e5e7eb;
}

.payment-notice .payment-instruction {
    color: #d1d5db;
}

.payment-info,
.payment-summary,
.payment-instructions {
    background: #020617;
    border-color: #1f2937;
}

.payment-instructions p,
.payment-instructions ol,
.payment-instructions ol li {
    color: #e5e7eb;
}

.payment-instructions p strong {
    color: #f9fafb;
}

.crypto-amount-box {
    background: radial-gradient(circle at top left, #0f172a, #020617);
    border-color: #1d4ed8;
}

.amount-value {
    background: #020617;
    border-color: #1d4ed8;
}

.amount-number {
    color: #bfdbfe;
}

.amount-currency {
    color: #60a5fa;
}

.amount-note {
    color: #9ca3af;
}

.crypto-address-large .address-box-large,
.address-box {
    background: #020617;
    border-color: #1f2937;
}

.address-box-large code,
.address-box code {
    background: #020617;
    border-color: #111827;
    color: #e5e7eb;
}

.message-error {
    background: #450a0a;
    border-color: #b91c1c;
    color: #fecaca;
}

.message-info {
    background: #111827;
    border-color: #1d4ed8;
    color: #bfdbfe;
}

.message-success {
    background: #022c22;
    border-color: #16a34a;
    color: #bbf7d0;
}

.small-text {
    color: #9ca3af;
}

.search-input,
.tx-input,
.currency-select {
    background: #020617;
    border-color: #1f2937;
    color: #e5e7eb;
}

.search-input::placeholder,
.tx-input::placeholder {
    color: #6b7280;
}

.search-input:focus,
.tx-input:focus,
.currency-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #1d4ed8;
    background: #020617;
}

.btn-currency {
    background: #020617;
    border-color: #1f2937;
    color: #e5e7eb;
}

.btn-currency:hover {
    background: #111827;
    border-color: #4b5563;
}

.payment-address-section .message-info {
    background: #020617;
    border-color: #1f2937;
    color: #e5e7eb;
}

.faq-buy-crypto details {
    background: #020617;
    border-color: #1f2937;
}

.faq-buy-crypto details[open] {
    background: #111827;
    border-color: #1d4ed8;
}

.faq-buy-crypto summary {
    color: #f9fafb;
}

.currency-name,
.currency-code {
    color: #e5e7eb;
}

.footer {
    color: #9ca3af;
}

