/* ============================================
   RIDOPAY — Account Number Styles
   ============================================ */

/* === Account Number Display === */
.account-number-section {
    margin-bottom: 4px;
    padding: 0 20px;
}

.account-number-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card, #13131a);
    border: 1px solid var(--border-card, rgba(201, 168, 76, 0.12));
    border-radius: 14px;
    padding: 14px 18px;
}

.acc-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.acc-label {
    font-size: 10px;
    color: var(--text-muted, #5a584f);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.acc-number {
    font-family: var(--font-main, 'Outfit', sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--gold, #c9a84c);
    letter-spacing: 2px;
}

.acc-number.not-set {
    font-size: 12px;
    color: var(--text-muted, #5a584f);
    letter-spacing: 0;
    cursor: pointer;
}

.acc-copy-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 10px;
    color: var(--gold, #c9a84c);
    cursor: pointer;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.acc-copy-btn:active {
    background: rgba(201, 168, 76, 0.12);
}

.acc-copy-btn.copied {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.2);
}

/* === Account Setup Modal === */
.acc-setup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.acc-setup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.acc-setup-modal {
    width: 100%;
    max-width: 360px;
    background: #13131a;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 20px;
    padding: 28px 24px 24px;
    transform: scale(0.9) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.acc-setup-overlay.show .acc-setup-modal {
    transform: scale(1) translateY(0);
}

.acc-setup-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold, #c9a84c), transparent);
    opacity: 0.5;
}

.acc-setup-header {
    text-align: center;
    margin-bottom: 20px;
}

.acc-setup-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 16px;
}

.acc-setup-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary, #f0eee6);
    margin-bottom: 4px;
}

.acc-setup-desc {
    font-size: 12px;
    color: var(--text-muted, #5a584f);
    line-height: 1.5;
}

/* Input area */
.acc-input-wrap {
    position: relative;
    margin-bottom: 6px;
}

.acc-input {
    width: 100%;
    height: 52px;
    background: #0a0a0c;
    border: 1.5px solid rgba(201, 168, 76, 0.12);
    border-radius: 12px;
    padding: 0 50px 0 16px;
    font-family: var(--font-main, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--gold, #c9a84c);
    letter-spacing: 3px;
    outline: none;
    caret-color: var(--gold, #c9a84c);
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}

.acc-input:focus {
    border-color: var(--gold, #c9a84c);
}

.acc-input.available {
    border-color: #4caf50;
}

.acc-input.taken {
    border-color: #e74c3c;
}

.acc-input::placeholder {
    color: rgba(201, 168, 76, 0.2);
    letter-spacing: 1px;
    font-size: 14px;
}

.acc-random-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 10px;
    cursor: pointer;
    color: var(--gold, #c9a84c);
    transition: background 0.15s ease;
}

.acc-random-btn:active {
    background: rgba(201, 168, 76, 0.15);
}

/* Length & status */
.acc-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    min-height: 20px;
}

.acc-length {
    font-size: 11px;
    color: var(--text-muted, #5a584f);
}

.acc-status {
    font-size: 11px;
    font-weight: 500;
}

.acc-status.available {
    color: #4caf50;
}

.acc-status.taken {
    color: #e74c3c;
}

.acc-status.checking {
    color: var(--text-muted, #5a584f);
}

/* Actions */
.acc-setup-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acc-btn-save {
    width: 100%;
    height: 48px;
    background: var(--gold, #c9a84c);
    color: #0a0a0c;
    border: none;
    border-radius: 12px;
    font-family: var(--font-main, 'Outfit', sans-serif);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.acc-btn-save:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.acc-btn-save.loading {
    opacity: 0.6;
    pointer-events: none;
}

.acc-btn-skip {
    width: 100%;
    height: 40px;
    background: transparent;
    color: var(--text-muted, #5a584f);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 12px;
    font-family: var(--font-main, 'Outfit', sans-serif);
    font-size: 13px;
    cursor: pointer;
}

/* Info */
.acc-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 10px;
    color: var(--text-muted, #5a584f);
    line-height: 1.4;
}

.acc-info svg {
    flex-shrink: 0;
}
