*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-top: #ffffff;
    --bg-bottom: #e8f5e9;
    --text-dark: #1b5e20;
    --text-muted: #4e8553;
    --card-bg: #ffffff;
    --card-border: #c8e6c9;
    --card-shadow: rgba(27, 94, 32, 0.06);
    --btn-bg: #e8f5e9;
    --btn-hover: #c8e6c9;
    --btn-text: #1b5e20;
    --primary-color: #2e7d32;
    --overlay-bg: rgba(0, 0, 0, 0.4);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    background-attachment: fixed;
    color: #333333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-header {
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
}

.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    background-color: rgba(46, 125, 50, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.business-title {
    font-size: clamp(22px, 5vw, 28px);
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.cards-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 16px var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.card:hover {
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.09);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.card-value-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.card-value {
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 600;
    color: #222222;
    word-break: break-word;
}

.currency-symbol {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    padding: 0 4px;
}

.iban-card .card-content {
    gap: 10px;
}

.iban-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 2px;
}

.iban-container::-webkit-scrollbar {
    display: none;
}
.iban-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.iban-text {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: clamp(15px, 4.2vw, 20px);
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--text-dark);
}

.button-row-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 4px;
}

.btn {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    font-size: 13px;
    padding: 8px 16px;
    border: 1px solid rgba(46, 125, 50, 0.2);
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: var(--btn-hover);
}

.page-footer {
    margin-top: 24px;
    text-align: center;
    width: 100%;
}

.footer-hint {
    font-size: 12px;
    color: var(--text-muted);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-bg);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    width: 100%;
    max-width: 340px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(10px);
    transition: transform 0.25s ease;
}

.modal-overlay:not([hidden]) .modal-box {
    transform: translateY(0);
}

.modal-icon {
    width: 56px;
    height: 56px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px auto;
}

.modal-title-text {
    font-size: 18px;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 8px;
}

.modal-desc-text {
    font-size: 13px;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-modal {
    background-color: #2e7d32;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    width: 100%;
}

.btn-modal:hover {
    background-color: #1b5e20;
}
