/* CTH Custom Auth CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    --binance-gold: #FCD535;
    --binance-dark-bg: #181A20;
    --binance-card-bg: #2B3139;
    --binance-text-light: #EAECEF;
    --binance-text-muted: #848E9C;
    --binance-border: rgba(255, 255, 255, 0.1);
}

/* Full Page Container */
.cth-auth-container {
    min-height: 100vh;
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
    z-index: 9999;
    background: #0b0e11; /* Pure Matte Black */
    display: flex;
    align-items: flex-start; /* Ensure top isn't cut off if card is tall */
    justify-content: center;
    font-family: 'Inter', sans-serif;
    color: var(--binance-text-light);
    padding: 60px 20px !important; /* Generous padding for scrolling */
    box-sizing: border-box;
    overflow-x: hidden;
}

.auth-card {
    background-color: #181a20; /* Matte Dark */
    width: 100%;
    max-width: 550px !important;
    padding: 40px !important;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    margin: auto 0; /* Centers vertically if there's space, but respects flex-start */
}

.auth-card.wide {
    max-width: 900px !important; /* Increased for wider registration table look */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.company-name {
    color: var(--binance-gold);
    text-align: center;
    font-size: 28px; /* Reduced slightly */
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-prompt {
    text-align: center;
    color: var(--binance-text-muted);
    margin-bottom: 25px;
    font-size: 14px;
}

/* Form Styling - WHITE INPUTS, BLACK TEXT */
.cth-form .form-group {
    margin-bottom: 20px;
}

.cth-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--binance-text-light);
}

.cth-form input[type="text"],
.cth-form input[type="password"],
.cth-form input[type="email"],
.cth-form input[type="number"],
.cth-form select {
    width: 100%;
    height: 52px;
    background-color: #1e2329 !important; /* Matte Input */
    color: #eaecef !important; /* Light Text */
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0 15px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cth-form input:hover, .cth-form select:hover {
    border-color: rgba(252, 213, 53, 0.3);
    background-color: #2b3139 !important;
}

.cth-form input:focus {
    border-color: var(--binance-gold);
    outline: none;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 45px !important;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #848e9c; /* Balanced icon color */
    z-index: 10;
    font-size: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .cth-auth-container { padding: 30px 15px !important; }
    .auth-card { padding: 30px 20px !important; width: 100%; max-width: 100% !important; margin: 0 auto; box-sizing: border-box; }
    .form-grid { grid-template-columns: 1fr; gap: 12px; }
    .company-name { font-size: 24px; }
    .auth-prompt { margin-bottom: 20px; font-size: 14px; }
    .cth-form .form-group { margin-bottom: 12px; }
    .cth-form label { font-size: 13px; margin-bottom: 5px; }
    .cth-form input[type="text"],
    .cth-form input[type="password"],
    .cth-form input[type="email"],
    .cth-form select { 
        height: 44px; 
        font-size: 15px; 
    }
    .auth-btn { height: 46px; font-size: 15px; }
}

/* Select2 Theme Customization */
.select2-container--default .select2-selection--single {
    background-color: #1e2329 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    height: 52px !important;
    display: flex;
    align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #eaecef !important;
    padding-left: 15px !important;
    font-size: 15px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
}
.select2-dropdown {
    background-color: #2B3139 !important;
    color: #EAECEF !important;
    border: 1px solid var(--binance-border) !important;
    z-index: 99999 !important;
}
/* Base option text color */
.select2-container--default .select2-results > .select2-results__options {
    color: #EAECEF !important; 
}
.select2-container--default .select2-results__option,
li.select2-results__option {
    color: #EAECEF !important;
    padding: 8px 15px !important;
}

/* Hovered / Highlighted option */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    background-color: var(--binance-gold) !important;
    color: #181A20 !important;
}

.select2-search--dropdown {
    background-color: #2B3139 !important;
}
.select2-search--dropdown .select2-search__field {
    background-color: #181A20 !important;
    color: #FFFFFF !important;
    border: 1px solid var(--binance-border) !important;
}

.auth-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #fcd535, #f0b90b);
    color: #0b0e11;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(240, 185, 11, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 185, 11, 0.4);
    filter: brightness(1.1);
}

.auth-link {
    display: block;
    text-align: center;
    color: var(--binance-gold);
    margin-top: 15px;
    text-decoration: none;
    font-size: 14px;
}

.switch-auth {
    text-align: center;
    margin-top: 25px;
    color: var(--binance-text-muted);
    font-size: 14px;
}

.switch-auth a {
    color: var(--binance-gold);
    text-decoration: none;
    font-weight: 600;
}

/* Account Page Layout */
.cth-account-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.account-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--binance-text-light);
    margin-bottom: 30px;
}

.account-layout {
    display: flex;
    gap: 30px;
}

.account-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: var(--binance-card-bg);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--binance-border);
    height: fit-content;
}

.user-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--binance-border);
}

.user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--binance-gold);
    margin-bottom: 10px;
}

.account-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-tabs li {
    padding: 12px 15px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--binance-text-muted);
    transition: all 0.2s;
    margin-bottom: 5px;
}

.account-tabs li i {
    margin-right: 10px;
    width: 20px;
}

.account-tabs li:hover, .account-tabs li.active {
    background: rgba(252, 213, 53, 0.05);
    color: var(--binance-gold);
    border-left: 3px solid var(--binance-gold);
    padding-left: 12px; /* Adjust for border */
}

/* Institutional Status Header */
.institutional-status-header {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.status-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.corp-icon {
    width: 60px;
    height: 60px;
    background: rgba(252, 213, 53, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--binance-gold);
}

.status-info h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #eaecef;
}

.status-info p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #848e9c;
}

.v-badge.large {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 30px;
}

.account-content {
    flex: 1;
    background: var(--binance-card-bg);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--binance-border);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.status-box {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.status-rejected { background: rgba(246, 70, 93, 0.1); border: 1px solid #f6465d; }

.soft-2fa-group { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; margin-top: 15px; }
.auth-hint { font-size: 11px; color: var(--binance-text-muted); margin-top: 5px; font-style: italic; }

.security-upgrade-prompt {
    background: rgba(4, 190, 110, 0.05);
    border: 1px solid rgba(4, 190, 110, 0.15);
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    text-align: center;
}
.security-upgrade-prompt i { font-size: 28px; color: #04be6e; margin-bottom: 15px; display: block; }
.security-upgrade-prompt p { font-size: 13px; color: var(--binance-text-light); margin-bottom: 15px; font-weight: 500; }
.security-upgrade-prompt .auth-btn.small { width: auto; padding: 0 25px; height: 36px; background: #04be6e; border: none; }
.security-upgrade-prompt .auth-btn.small:hover { background: #03a660; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(4, 190, 110, 0.3); }

.status-pending { background: rgba(240, 185, 11, 0.1); border: 1px solid #f0b90b; color: #f0b90b; }
.status-verified { background: rgba(4, 190, 110, 0.1); border: 1px solid #04be6e; color: #04be6e; }
.status-success { color: #04be6e; font-weight: 600; font-size: 13px; }

/* Verification 2.0 */
.verification-progress-container { margin-bottom: 30px; }
.progress-labels { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; color: var(--binance-text-muted); }
.progress-bar-bg { background: rgba(255,255,255,0.05); height: 8px; border-radius: 4px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--binance-gold); transition: width 0.5s ease; box-shadow: 0 0 10px var(--binance-gold); }

.verification-status-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.v-card { background: rgba(255,255,255,0.02); border: 1px solid var(--binance-border); padding: 25px 20px; border-radius: 12px; text-align: center; transition: all 0.3s; }
.v-card i { font-size: 32px; color: var(--binance-text-muted); margin-bottom: 15px; }
.v-card h4 { font-size: 16px; margin-bottom: 10px; color: var(--binance-text-light); }
.v-card.active { border-color: var(--binance-gold); background: rgba(252, 213, 53, 0.05); }
.v-card.active i { color: var(--binance-gold); }

.v-badge { font-size: 11px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,0.1); color: var(--binance-text-muted); font-weight: 700; }
.v-badge.publish { background: #04be6e; color: white; }
.v-badge.pending { background: #f0b90b; color: #181A20; }
.v-badge.trash, .v-badge.rejected { background: #f6465d; color: white; }

.upload-zone { background: rgba(0,0,0,0.15); border: 2px dashed var(--binance-border); padding: 25px; border-radius: 12px; text-align: center; transition: all 0.2s; cursor: pointer; }
.upload-zone:hover { border-color: var(--binance-gold); background: rgba(252, 213, 53, 0.02); }
.upload-zone i { font-size: 24px; color: var(--binance-gold); margin-bottom: 10px; }
.upload-zone h5 { margin: 0 0 5px; font-size: 14px; }
.upload-zone p { margin: 0; font-size: 12px; color: var(--binance-text-muted); }
.upload-zone input[type="file"] { margin-top: 15px; font-size: 12px; width: 100%; }

/* History Table */
.history-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.history-table th { text-align: left; padding: 12px; font-size: 13px; color: var(--binance-text-muted); border-bottom: 1px solid var(--binance-border); }
.history-table td { padding: 12px; font-size: 14px; border-bottom: 1px solid var(--binance-border); }

@media (max-width: 850px) {
    .verification-status-cards { grid-template-columns: 1fr; gap: 10px; }
    .upload-zone { padding: 15px; }
    .history-table th, .history-table td { font-size: 12px; padding: 8px; }
}

@media (max-width: 850px) {
    .cth-account-container { margin: 10px auto; padding: 0 10px; max-width: 100%; box-sizing: border-box; }
    .account-header h1 { font-size: 24px; margin-bottom: 20px; }
    .account-layout { flex-direction: column; gap: 15px; width: 100%; }
    .account-sidebar { width: 100% !important; padding: 15px; flex-shrink: 1; box-sizing: border-box; }
    .user-info { margin-bottom: 15px; padding-bottom: 10px; display: flex; flex-direction: column; align-items: center; }
    .user-avatar img { width: 60px; height: 60px; }
    .user-info h3 { font-size: 16px; }
    .account-tabs li { padding: 10px; font-size: 14px; }
    .account-content { padding: 30px 20px; background: transparent; border: none; }
    .institutional-status-header { flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; }
}

/* 2FA Styling */
.auth-divider { border: none; border-top: 1px solid var(--binance-border); margin: 30px 0; }
.auth-info-text { color: var(--binance-text-muted); font-size: 14px; margin-bottom: 20px; }
.secret-text { background: rgba(0,0,0,0.2); padding: 10px; border-radius: 4px; display: inline-block; margin-top: 15px; font-size: 13px; }
#2fa-qr-code { padding: 15px; background: white; border-radius: 8px; display: inline-block; margin: 15px 0; }
.danger { background: #f6465d !important; color: white !important; }

/* 2FA Guide */
.cth-2fa-guide h4 { color: var(--binance-gold); margin: 20px 0 10px; font-size: 16px; }
.cth-2fa-guide p { color: var(--binance-text-light); font-size: 14px; }

/* Custom Checkbox */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
    color: var(--binance-text-muted);
    user-select: none;
}
.checkbox-container input { visibility: hidden; position: absolute; }
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--binance-card-bg);
    border: 1px solid var(--binance-border);
    border-radius: 4px;
}
.checkbox-container:hover input ~ .checkmark { background-color: rgba(252, 213, 53, 0.1); }
.checkbox-container input:checked ~ .checkmark { background-color: var(--binance-gold); }
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #181A20;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox-container input:checked ~ .checkmark:after { display: block; }

/* Radio Button Styling */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}
.radio-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 14px;
    color: var(--binance-text-light);
    user-select: none;
}
.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.radio-mark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: var(--binance-card-bg);
    border: 1px solid var(--binance-border);
    border-radius: 50%;
}
.radio-container:hover input ~ .radio-mark {
    background-color: rgba(252, 213, 53, 0.1);
}
.radio-container input:checked ~ .radio-mark {
    background-color: var(--binance-gold);
    border-color: var(--binance-gold);
}
.radio-mark:after {
    content: "";
    position: absolute;
    display: none;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #181A20;
}
.radio-container input:checked ~ .radio-mark:after {
    display: block;
}

.auth-error {
    background: rgba(246, 70, 93, 0.1);
    color: #f6465d;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid #f6465d;
    text-align: center;
}
.account-type-toggle {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--binance-border);
}

.account-type-toggle .radio-container {
    color: var(--binance-text-muted);
}

.account-type-toggle input:checked ~ .radio-mark + text,
.account-type-toggle input:checked ~ .radio-container {
    color: var(--binance-gold) !important;
}

/* Wizard Progress Bar */
.wizard-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--binance-dark-bg);
    border: 2px solid var(--binance-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--binance-text-muted);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.progress-step.active {
    background: var(--binance-gold);
    border-color: var(--binance-gold);
    color: var(--binance-dark-bg);
    box-shadow: 0 0 15px rgba(252, 213, 53, 0.3);
}

.progress-step.completed {
    background: #04be6e;
    border-color: #04be6e;
    color: white;
}

.progress-line {
    height: 2px;
    width: 40px;
    background: var(--binance-border);
    transition: background 0.3s ease;
}

.progress-line.active {
    background: var(--binance-gold);
}

/* Benefit Cards */
.benefit-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--binance-border);
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card input {
    position: absolute;
    opacity: 0;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(252, 213, 53, 0.3);
    transform: translateY(-5px);
}

.benefit-card.active {
    background: rgba(252, 213, 53, 0.05);
    border-color: var(--binance-gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(252, 213, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 24px;
    color: var(--binance-gold);
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--binance-text-light);
}

.benefit-summary {
    font-size: 13px;
    color: var(--binance-text-muted);
    margin-bottom: 20px;
}

.benefit-details {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.benefit-details li {
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--binance-text-light);
}

.benefit-details li i {
    color: #04be6e;
    margin-right: 8px;
    font-size: 11px;
}

.benefit-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.benefit-badge.gold {
    background: var(--binance-gold);
    color: var(--binance-dark-bg);
}

/* Wizard Footer Controls */
.wizard-footer {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.wizard-footer.space-between {
    justify-content: space-between;
}

.auth-btn.outline {
    background: transparent !important;
    border: 1px solid var(--binance-border) !important;
    color: var(--binance-text-light) !important;
    width: auto !important;
    padding: 0 25px !important;
}

.auth-btn.outline:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Animations */
.wizard-step {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-20px); }
}

@media (max-width: 768px) {
    .benefit-cards { flex-direction: column; }
    .wizard-progress-bar { margin-bottom: 20px; }
}
/* Fluid Login */
.login-phase {
    animation: fadeIn 0.4s ease;
}

.user-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--binance-border);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.user-preview i {
    font-size: 20px;
    color: var(--binance-gold);
}

.user-preview #display-user {
    font-size: 14px;
    color: var(--binance-text-light);
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-preview .edit-user {
    font-size: 12px;
    color: var(--binance-gold);
    text-decoration: none;
    font-weight: 600;
}

.user-preview .edit-user:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Account Page Mirroring */
.account-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--binance-border);
    color: var(--binance-text-muted);
}

.account-type-badge.corporate {
    background: rgba(252, 213, 53, 0.1);
    border-color: var(--binance-gold);
    color: var(--binance-gold);
}

.account-type-badge.personal {
    background: rgba(4, 190, 110, 0.1);
    border-color: #04be6e;
    color: #04be6e;
}

.section-desc {
    font-size: 13px;
    color: var(--binance-text-muted);
    margin-bottom: 25px;
    margin-top: -10px;
}

/* Upgrade Outreach Ad */
.upgrade-ad {
    background: linear-gradient(135deg, rgba(252, 213, 53, 0.1) 0%, rgba(252, 213, 53, 0.02) 100%);
    border: 1px solid rgba(252, 213, 53, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease;
}

/* Premium Shimmer Overlay */
.upgrade-ad::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(252, 213, 53, 0.2) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -150%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

.upgrade-ad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--binance-gold);
}

.upgrade-ad h4 {
    color: var(--binance-gold);
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upgrade-ad p {
    font-size: 13px;
    color: var(--binance-text-light);
    line-height: 1.5;
    margin-bottom: 15px;
}

.upgrade-ad .upgrade-link {
    display: inline-block;
    color: var(--binance-dark-bg);
    background: var(--binance-gold);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

/* Account Tiers & Progress */
.tier-system-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--binance-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tier-progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
}

.tier-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--tier-progress);
    background: linear-gradient(90deg, var(--binance-gold), #ffda44);
    border-radius: 4px;
    transition: all 1s ease;
    box-shadow: 0 0 15px rgba(252, 213, 53, 0.4);
}

.tier-step {
    width: 20px;
    height: 20px;
    background: var(--binance-dark-bg);
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    margin-top: -6px;
    transition: all 0.3s ease;
}

.tier-step.active {
    border-color: var(--binance-gold);
    background: var(--binance-gold);
}

.tier-step.completed {
    border-color: var(--binance-gold);
    background: var(--binance-gold);
}

.tier-step .tier-label {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
    color: var(--binance-text-muted);
}

.tier-step.active .tier-label {
    color: var(--binance-gold);
}

.tier-step.active {
    box-shadow: 0 0 15px var(--binance-gold);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { transform: scale(1); box-shadow: 0 0 5px var(--binance-gold); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px var(--binance-gold); }
    100% { transform: scale(1); box-shadow: 0 0 5px var(--binance-gold); }
}

/* Tier Perks */
.tier-perks-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.perk-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.perk-card.locked {
    opacity: 0.5;
    filter: grayscale(1);
}

.perk-card h4 {
    font-size: 13px;
    color: var(--binance-gold);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.perk-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.perk-card li {
    font-size: 11px;
    color: var(--binance-text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.perk-card li i { font-size: 8px; color: var(--binance-success); }

/* MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
    .tier-system-container {
        padding: 15px;
    }

    .tier-progress-track {
        flex-direction: column;
        height: 300px;
        width: 4px;
        margin: 20px auto 40px 20px;
        padding: 0;
        justify-content: space-between;
    }

    .tier-progress-bar {
        width: 100% !important;
        height: var(--tier-progress);
        background: linear-gradient(180deg, var(--binance-gold), #ffda44);
        border-radius: 4px;
    }

    .tier-step {
        margin-top: 0;
        margin-left: -8px;
    }

    .tier-step .tier-label {
        position: relative;
        top: 0;
        left: 35px;
        transform: none;
        text-align: left;
    }

    .tier-perks-container {
        grid-template-columns: 1fr;
    }

    .account-layout {
        gap: 10px;
    }

    .account-content {
        padding: 15px;
    }
}

/* Verification Checklist */
.v-checklist {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.v-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--binance-border);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.v-item.completed {
    border-color: rgba(14, 203, 129, 0.3);
    background: rgba(14, 203, 129, 0.05);
}

.v-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--binance-text-muted);
}

.completed .v-icon {
    background: var(--binance-success);
    color: white;
}

.v-content h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.v-content p {
    font-size: 12px;
    color: var(--binance-text-muted);
}

/* Institutional Management */
.team-table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.team-table {
    width: 100%;
    border-collapse: collapse;
}

.team-table th {
    text-align: left;
    padding: 12px;
    font-size: 12px;
    color: var(--binance-text-muted);
    border-bottom: 1px solid var(--binance-border);
}

.team-table td {
    padding: 15px 12px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.role-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
}

.role-badge.master {
    color: var(--binance-gold);
    background: rgba(252, 213, 53, 0.1);
}
