/* ===== VINACAPITAL MEMBER CENTER - UNIFIED LAYOUT CSS (mc-* system) ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, Helvetica, sans-serif; min-height: 100vh; background: #dce4ec; display: flex; flex-direction: column; }

/* TOP NAVBAR */
.mc-topbar { background: #0f2e46; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; height: 44px; position: relative; z-index: 50; flex-shrink: 0; }
.mc-topbar-logo { display: flex; align-items: center; gap: 7px; cursor: pointer; text-decoration: none; }
.mc-topbar-logo-icon { width: 18px; height: 18px; background: linear-gradient(135deg,#e53e3e,#c53030); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 9px; font-weight: bold; transform: skewX(-12deg); }
.mc-topbar-logo-text { color: #4dd9ac; font-size: 17px; font-weight: bold; font-family: Georgia, serif; }
.mc-topbar-right { display: flex; align-items: center; gap: 24px; }
.mc-topbar-lang { background: #fff; color: #222; border: none; border-radius: 3px; padding: 3px 10px; font-size: 12px; font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 5px; }
.mc-topbar-nav { display: flex; align-items: center; gap: 22px; }
.mc-topbar-nav a { color: #ccc; font-size: 13px; text-decoration: none; transition: color 0.15s; }
.mc-topbar-nav a:hover, .mc-topbar-nav a.active { color: #fff; }
.mc-topbar-logout { background: #c9a96e; color: #0f2e46; border: none; border-radius: 4px; padding: 5px 16px; font-size: 13px; font-weight: bold; cursor: pointer; transition: background 0.15s; }
.mc-topbar-logout:hover { background: #b8924a; }

/* PAGE */
.mc-page { flex: 1; display: flex; flex-direction: column; position: relative; background: #dce4ec; }

/* BACKGROUND STRIPES */
.mc-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mc-bg::before { content: ''; position: absolute; left: -60px; top: 0; width: 200px; height: 200%; background: repeating-linear-gradient(135deg, #2a5f9040 0px, #2a5f9040 26px, transparent 26px, transparent 52px); transform: skewX(-8deg); opacity: 0.6; }
.mc-bg::after { content: ''; position: absolute; right: -60px; top: 0; width: 200px; height: 200%; background: repeating-linear-gradient(45deg, #2a5f9040 0px, #2a5f9040 26px, transparent 26px, transparent 52px); transform: skewX(8deg); opacity: 0.6; }
.mc-bg-dots { position: absolute; inset: 0; background-image: radial-gradient(#90a4ae 1.5px, transparent 1.5px); background-size: 22px 22px; opacity: 0.35; }

/* INNER LAYOUT */
.mc-inner { position: relative; z-index: 1; display: flex; flex: 1; padding: 24px 40px; gap: 24px; max-width: 1450px; margin: 0 auto; width: 100%; align-items: flex-start; }

/* SIDEBAR */
.mc-sidebar { width: 300px; flex-shrink: 0; background: #0f2e46; color: #fff; border-radius: 4px; overflow: hidden; box-shadow: 2px 2px 14px rgba(0,0,0,0.25); }
.mc-sidebar-header { padding: 30px 20px 24px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mc-sb-logo { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 8px; }
.mc-sb-logo-icon { width: 26px; height: 26px; background: linear-gradient(135deg,#e53e3e,#c53030); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: bold; transform: skewX(-12deg); }
.mc-sb-logo-text { color: #4dd9ac; font-size: 24px; font-weight: bold; font-family: Georgia, serif; }
.mc-sb-username { color: #bbb; font-size: 16px; margin-top: 6px; }
.mc-nav { list-style: none; padding: 10px 0; }
.mc-nav li a { display: flex; align-items: center; gap: 14px; padding: 16px 22px; color: #a0bbd0; font-size: 16.5px; text-decoration: none; border-left: 4px solid transparent; transition: background 0.12s, color 0.12s; }
.mc-nav li a:hover { background: rgba(255,255,255,0.06); color: #fff; border-left-color: #c9a96e; }
.mc-nav li a.active { background: #c9a96e; color: #0f2e46; font-weight: bold; border-left-color: transparent; margin: 2px 8px; padding: 15px 14px; border-radius: 3px; }
.mc-nav li a i { width: 20px; text-align: center; font-size: 16px; }

/* MAIN CONTENT for sub-pages */
.mc-content { flex: 1; min-width: 0; }
.mc-content-title { font-size: 22px; font-weight: bold; color: #0f2e46; margin-bottom: 18px; }

/* BALANCE HEADER */
.mc-balance { background: #fff; border-radius: 4px; border: 1px solid #d6dfe6; box-shadow: 0 1px 4px rgba(0,0,0,0.05); padding: 4px 16px; margin-bottom: 16px; }
.mc-balance-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.mc-balance-row + .mc-balance-row { border-top: 1px solid #eef2f6; }
.mc-balance-label { font-size: 15px; font-weight: bold; color: #0f2e46; }
.mc-balance-val { font-size: 15px; font-weight: bold; color: #0f2e46; }

/* TABS */
.mc-tabs { display: flex; gap: 8px; margin-bottom: 16px; align-items: center; }
.mc-tab { background: #0f2e46; color: #fff; padding: 6px 20px; border-radius: 4px; border: none; font-size: 14px; font-weight: 600; cursor: pointer; }
.mc-tab:not(.active) { background: #fff; color: #556; border: 1px solid #c8d4e0; }
.mc-tab:not(.active):hover { border-color: #999; }
.mc-tabs-right { margin-left: auto; color: #d93030; font-weight: bold; font-size: 15px; cursor: pointer; }
.mc-tabs-right:hover { text-decoration: underline; }

/* FORM BOX */
.mc-form-box { background: rgba(255,255,255,0.75); border-radius: 4px; padding: 0; margin-bottom: 16px; }
.mc-form-field { padding: 12px 16px; border-bottom: 1px solid #e8eef3; }
.mc-form-field:last-child { border-bottom: none; }
.mc-form-field label { display: block; font-size: 13px; font-weight: bold; color: #0f2e46; margin-bottom: 6px; }
.mc-form-field input, .mc-form-field select { width: 100%; padding: 10px 12px; border: 1px solid #d0d8e0; border-radius: 10px; font-size: 15px; color: #000; background: rgba(255,255,255,0.9); outline: none; }
.mc-form-field input:focus, .mc-form-field select:focus { border-color: #4d745e; background: #fff; }
.mc-form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 32px; }
.mc-form-field .mc-copy-wrap { position: relative; }
.mc-form-field .mc-copy-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #778; font-size: 16px; padding: 0; }
.mc-form-field .mc-copy-btn:hover { color: #335; }
.mc-form-field .mc-input-row { display: flex; gap: 0; }
.mc-form-field .mc-input-row input { border-radius: 10px 0 0 10px; flex: 1; min-width: 0; }
.mc-badge { background: #b61b00; color: #fff; font-size: 12px; font-weight: 700; padding: 0 14px; border-radius: 0 10px 10px 0; white-space: nowrap; display: flex; align-items: center; }

/* SUBMIT BUTTON */
.mc-submit { padding: 14px 16px; text-align: center; }
.mc-submit button { display: block; width: 200px; margin: 0 auto; padding: 8px 27px; background: #e5d0af; border: #e5d0af 2px solid; color: #0f3a57; border-radius: 10px; font-weight: bold; font-size: 15px; cursor: pointer; transition: all 0.3s; }
.mc-submit button:hover { background: #0f3a57; color: #e5d0af; border-color: #e5d0af; }
.mc-submit-full button { width: 100%; max-width: none; }

/* PRECAUTIONS (WARNING BOX) */
.mc-precautions { background: rgba(0,0,0,0.11); padding: 15px; border-radius: 15px; margin-top: 16px; margin-bottom: 30px; }
.mc-precautions strong { display: block; margin-bottom: 4px; font-size: 14px; color: #333; }
.mc-precautions ol { padding-inline-start: 20px; font-size: 12px; line-height: 1.8; color: #333; }
.mc-precautions p { font-size: 12px; color: #333; }

/* RECEIVE TXT */
.mc-receive { padding: 8px 16px; font-size: 14px; color: #334; }

/* KYC VERIFY ROW */
.mc-kyc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mc-kyc-row span { font-size: 14px; color: #334; }

/* RECORD TABS */
.mc-record-tabs { display: flex; gap: 0; margin-bottom: 0; }
.mc-record-tab { flex: 1; padding: 12px 0; border: none; font-size: 15px; font-weight: 600; cursor: pointer; text-align: center; }
.mc-record-tab.active { background: #0f2e46; color: #fff; }
.mc-record-tab:not(.active) { background: #90a4ae; color: #fff; }
.mc-record-tab:not(.active):hover { background: #7a8f9a; }
.mc-record-box { background: rgba(255,255,255,0.7); border-radius: 0 0 10px 10px; min-height: 200px; padding: 20px; }
.mc-record-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #e0e8ef; }
.mc-record-row:last-child { border-bottom: none; }
.mc-record-type { font-size: 14px; font-weight: 600; color: #334; }
.mc-record-date { font-size: 12px; color: #778; margin-top: 2px; }
.mc-record-amt { font-size: 14px; font-weight: 700; }
.mc-record-amt.pos { color: #1a9a4a; }
.mc-record-amt.neg { color: #d03030; }
.mc-empty { text-align: center; padding: 80px 0; color: #999; font-size: 15px; }

/* KYC MODAL */
.mc-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1000; display: none; align-items: center; justify-content: center; }
.mc-modal.show { display: flex; }
.mc-modal-box { background: #fff; border-radius: 10px; width: 420px; max-width: 94vw; padding: 28px; box-shadow: 0 8px 40px rgba(0,0,0,0.2); }
.mc-modal-title { font-size: 16px; font-weight: 700; color: #0f2540; margin-bottom: 18px; }
.mc-upload-box { border: 2px dashed #c8d4e0; border-radius: 10px; height: 100px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; background: #f5f8fb; margin-bottom: 6px; overflow: hidden; }
.mc-upload-box i { font-size: 28px; color: #aab8c4; pointer-events: none; }
.mc-upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mc-upload-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.mc-modal-footer { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }
.mc-btn-cancel { background: #fff; border: 1px solid #c9a96e; color: #c9a96e; padding: 8px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; }
.mc-btn-confirm { background: #3b82f6; color: #fff; border: none; padding: 8px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; }

/* FOOTER */
.mc-footer { position: relative; z-index: 1; background: #12202d; color: #666; text-align: center; font-size: 11.5px; padding: 11px; flex-shrink: 0; }

.mc-record-amt.wait { color: #f59e0b; }
