/* Profile, Modals & KYC Styles */
.profile-layout {
    padding: 24px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow-y: auto;
}

.profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.card-head-trader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.trader-id-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--accent);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.form-group label {
    font-size: 12px;
    color: var(--text-muted);
}

.form-group input, .form-group select {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.input-locked {
    background: #0e111a !important;
    color: #8e94a5 !important;
    cursor: not-allowed;
    border-color: #171c2b !important;
}

.kyc-badge-pending {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.kyc-badge-approved {
    background: rgba(0, 230, 118, 0.2);
    color: #00e676;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.btn-kyc-submit {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 6px;
}

/* Modals Overlay & Boxes */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-overlay.open {
    display: flex;
}

.modal-dialog {
    background: #141824;
    border: 1px solid #1f2434;
    border-radius: 8px;
    width: 90%;
    max-width: 440px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1f2434;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.copy-box {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.copy-box input {
    flex: 1;
    background: #0b0e14;
    border: 1px solid #1f2434;
    color: #00e676;
    padding: 8px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
}

.copy-box button {
    background: #2962ff;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.btn-modal-action-green {
    width: 100%;
    background: #00e676;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn-modal-action-red {
    width: 100%;
    background: #ff3344;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn-modal-action-blue {
    width: 100%;
    background: #2962ff;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn-auth-header {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 7px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}