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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, #000000 0%, #ff6600 100%);
    min-height: 100vh;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 16px;
}

.container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

header {
    text-align: center;
    margin-top: 10px;
}

.sub-header {
    font-size: 13px;
    letter-spacing: 1.5px;
    color: #ff9933;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
}

#business-name-header {
    font-size: 28px;
    font-weight: 800;
    color: #ff6600;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 8px;
}

.tagline {
    font-size: 14px;
    color: #cccccc;
}

.account-card {
    background-color: #0d0d0d;
    border: 1px solid #262626;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    margin-bottom: 16px;
}

.card-title {
    font-size: 14px;
    color: #ff9933;
    font-weight: 700;
    border-bottom: 1px solid #222222;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.info-box {
    background-color: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-box.iban-box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.label {
    font-size: 11px;
    color: #888888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    word-break: break-word;
}

.iban-value {
    font-size: 14px; /* 2px smaller than regular value font */
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    letter-spacing: 0.5px;
    width: 100%;
}

.symbol {
    font-size: 18px;
    font-weight: bold;
    color: #ff6600;
    padding-left: 8px;
}

.copy-btn {
    background-color: #ff6600;
    color: #331400;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s, transform 0.1s;
    flex-shrink: 0;
}

.copy-btn:active {
    transform: scale(0.96);
    background-color: #e65c00;
}

.copy-btn.iban-btn {
    align-self: flex-end;
}

.copy-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

footer {
    text-align: center;
    margin-bottom: 20px;
}

.footer-note {
    font-size: 12px;
    color: #aaaaaa;
}

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

.modal-overlay.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal {
    background-color: #121212;
    border: 1px solid #333333;
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-icon {
    margin-bottom: 16px;
}

.modal h2 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 12px;
}

.modal-text {
    font-size: 14px;
    color: #dddddd;
    line-height: 1.5;
    margin-bottom: 8px;
}

.modal-wish {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 24px;
}

.modal-btn {
    width: 100%;
    background-color: #ff6600;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-btn:hover, .modal-btn:focus {
    background-color: #e65c00;
    outline: none;
}
