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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0e27;
    color: #e0e6ed;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    padding: 20px 0;
    border-bottom: 3px solid #4a9eff;
}

header h1 {
    color: #4a9eff;
    font-size: 28px;
    margin-bottom: 5px;
}

.powered-by {
    color: #a0aec0;
    font-size: 14px;
}

/* Navigation */
nav {
    background: #151a33;
    padding: 15px 0;
    border-bottom: 1px solid #2d3561;
}

.nav-btn {
    background: transparent;
    color: #a0aec0;
    border: none;
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #2d3561;
    color: #4a9eff;
}

.nav-btn.active {
    background: #4a9eff;
    color: #fff;
}

/* Main Content */
main {
    padding: 30px 0;
    min-height: calc(100vh - 250px);
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

h2 {
    color: #4a9eff;
    margin-bottom: 25px;
    font-size: 24px;
    border-bottom: 2px solid #2d3561;
    padding-bottom: 10px;
}

h3 {
    color: #6bb6ff;
    margin-bottom: 15px;
    font-size: 18px;
}

h4 {
    color: #a0aec0;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Configuration Screen */
.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.config-item {
    background: #151a33;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #2d3561;
}

.config-item label {
    display: block;
    margin-bottom: 10px;
    color: #a0aec0;
    font-size: 14px;
}

.config-item select,
.config-item input[type="range"] {
    width: 100%;
    padding: 10px;
    background: #0a0e27;
    border: 1px solid #2d3561;
    border-radius: 5px;
    color: #e0e6ed;
    font-size: 14px;
}

.config-item input[type="range"] {
    cursor: pointer;
}

.api-keys {
    background: #151a33;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2d3561;
    margin-bottom: 20px;
}

.api-key-item {
    margin-bottom: 15px;
}

.api-key-item label {
    display: block;
    margin-bottom: 5px;
    color: #a0aec0;
    font-size: 14px;
}

.api-key-item input {
    width: 100%;
    padding: 10px;
    background: #0a0e27;
    border: 1px solid #2d3561;
    border-radius: 5px;
    color: #e0e6ed;
    font-size: 13px;
}

/* Buttons */
.btn-primary {
    background: #4a9eff;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #3a8eef;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 158, 255, 0.3);
}

/* Collateral Screen */
.collateral-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.collateral-card {
    background: #151a33;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2d3561;
}

.deposit-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.deposit-btn {
    flex: 1;
    background: #2d3561;
    color: #e0e6ed;
    border: 1px solid #4a9eff;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.deposit-btn:hover {
    background: #4a9eff;
    color: #fff;
}

.balance-display,
.supply-stats {
    margin-top: 20px;
}

.balance-item,
.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #2d3561;
}

.balance-item .label,
.stat-item .label {
    color: #a0aec0;
    font-size: 14px;
}

.balance-item .value,
.stat-item .value {
    color: #e0e6ed;
    font-weight: 600;
    font-size: 16px;
}

.value.highlight {
    color: #4a9eff;
}

.value.success {
    color: #48bb78;
}

.mint-input {
    margin-bottom: 20px;
}

.mint-input label {
    display: block;
    margin-bottom: 8px;
    color: #a0aec0;
}

.mint-input input {
    width: 100%;
    padding: 12px;
    background: #0a0e27;
    border: 1px solid #2d3561;
    border-radius: 5px;
    color: #e0e6ed;
    font-size: 16px;
    margin-bottom: 15px;
}

.mint-btn {
    width: 100%;
}

.security-info {
    background: #151a33;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #48bb78;
}

.security-info code {
    background: #0a0e27;
    padding: 5px 10px;
    border-radius: 3px;
    color: #4a9eff;
    font-family: 'Courier New', monospace;
}

/* Exchange Screen */
.user-badge {
    background: #151a33;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #2d3561;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-score {
    color: #48bb78;
    font-size: 20px;
}

.badge-good {
    background: #48bb78;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
}

.trading-pairs {
    margin-bottom: 20px;
}

.pair-btn {
    background: #2d3561;
    color: #e0e6ed;
    border: 1px solid #4a9eff;
    padding: 10px 20px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.pair-btn:hover,
.pair-btn.active {
    background: #4a9eff;
    color: #fff;
}

.trading-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.orderbook-panel,
.order-entry-panel {
    background: #151a33;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2d3561;
}

.orderbook {
    font-size: 14px;
}

.orderbook-section h4 {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 10px;
}

.orderbook table {
    width: 100%;
    margin-bottom: 15px;
}

.orderbook th {
    color: #a0aec0;
    text-align: left;
    padding: 8px;
    font-weight: 500;
}

.orderbook td {
    padding: 6px 8px;
}

.orderbook .ask {
    color: #fc8181;
}

.orderbook .bid {
    color: #68d391;
}

.spread-indicator {
    text-align: center;
    padding: 10px;
    background: #2d3561;
    border-radius: 5px;
    margin: 15px 0;
}

.spread-indicator strong {
    color: #4a9eff;
}

.order-type {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.order-type-btn {
    flex: 1;
    background: #2d3561;
    color: #e0e6ed;
    border: 1px solid #4a9eff;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.order-type-btn.active {
    background: #4a9eff;
    color: #fff;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #a0aec0;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background: #0a0e27;
    border: 1px solid #2d3561;
    border-radius: 5px;
    color: #e0e6ed;
    font-size: 14px;
}

.form-hint {
    display: block;
    margin-top: 5px;
    color: #718096;
    font-size: 12px;
}

.settlement-preview {
    background: #2d3561;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.settlement-preview p {
    margin: 5px 0;
    font-size: 14px;
}

.settlement-preview strong {
    color: #4a9eff;
}

.order-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-buy,
.btn-sell {
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-buy {
    background: #48bb78;
    color: #fff;
}

.btn-buy:hover {
    background: #38a169;
}

.btn-sell {
    background: #fc8181;
    color: #fff;
}

.btn-sell:hover {
    background: #f56565;
}

.recent-trades {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2d3561;
}

.recent-trades h4 {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 10px;
}

.trades-list {
    font-size: 13px;
}

.trade-item {
    padding: 8px;
    margin-bottom: 5px;
    border-radius: 3px;
    background: #0a0e27;
}

.trade-item.buy {
    border-left: 3px solid #48bb78;
}

.trade-item.sell {
    border-left: 3px solid #fc8181;
}

/* Settlement Screen */
.settlement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #151a33 0%, #1f2544 100%);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2d3561;
    text-align: center;
}

.stat-label {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 10px;
}

.stat-value {
    color: #4a9eff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-compare {
    color: #718096;
    font-size: 12px;
}

.active-trades,
.recent-settlements {
    background: #151a33;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2d3561;
    margin-bottom: 25px;
}

.settlement-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.settlement-table th {
    color: #a0aec0;
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #2d3561;
    font-weight: 500;
}

.settlement-table td {
    padding: 12px;
    border-bottom: 1px solid #2d3561;
}

.status-pending {
    color: #f6ad55;
}

.status-pending::before {
    content: '🟡 ';
}

.status-complete {
    color: #48bb78;
}

.status-complete::before {
    content: '🟢 ';
}

.settlements-feed {
    max-height: 200px;
    overflow-y: auto;
}

.settlement-item {
    padding: 12px;
    margin-bottom: 10px;
    background: #0a0e27;
    border-left: 3px solid #4a9eff;
    border-radius: 3px;
    font-size: 14px;
}

.settlement-item .time {
    color: #718096;
    font-size: 12px;
}

/* Footer */
footer {
    background: #151a33;
    padding: 20px 0;
    border-top: 1px solid #2d3561;
    text-align: center;
    color: #718096;
    font-size: 13px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #0a0e27;
}

::-webkit-scrollbar-thumb {
    background: #2d3561;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a9eff;
}

/* Landing Screen */
.network-overview-card {
    background: linear-gradient(135deg, #1a2f4a 0%, #2a3f5a 100%);
    padding: 35px;
    border-radius: 12px;
    border: 2px solid #4a9eff;
    margin-bottom: 35px;
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.15);
}

.network-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #4a9eff;
}

.network-header h3 {
    color: #4a9eff;
    font-size: 24px;
    margin: 0;
}

.network-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0aec0;
    font-size: 14px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background: #48bb78;
    box-shadow: 0 0 10px rgba(72, 187, 120, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.network-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.network-stat {
    background: #151a33;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #2d3561;
    text-align: center;
}

.network-stat .stat-label {
    display: block;
    color: #a0aec0;
    font-size: 13px;
    margin-bottom: 10px;
}

.network-stat .stat-value {
    display: block;
    color: #4a9eff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.network-stat .stat-change {
    display: block;
    font-size: 12px;
    font-weight: 600;
}

.stat-change.positive {
    color: #48bb78;
}

.stat-change.negative {
    color: #fc8181;
}

.section-title {
    color: #6bb6ff;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 10px;
    padding-left: 15px;
    border-left: 4px solid #4a9eff;
}

.exchanges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.exchange-card {
    background: linear-gradient(135deg, #151a33 0%, #1f2544 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #2d3561;
    transition: all 0.3s;
    cursor: pointer;
}

.exchange-card:hover {
    border-color: #4a9eff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.2);
}

.exchange-card.add-new {
    border: 2px dashed #2d3561;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.exchange-card.add-new:hover {
    border-color: #48bb78;
    background: linear-gradient(135deg, #151a33 0%, #1a2f1f 100%);
}

.add-new-content {
    text-align: center;
}

.add-icon {
    font-size: 48px;
    color: #48bb78;
    margin-bottom: 15px;
}

.add-new-content h3 {
    color: #48bb78;
    margin-bottom: 10px;
}

.add-new-content p {
    color: #718096;
    font-size: 14px;
}

.exchange-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2d3561;
}

.exchange-header h3 {
    margin: 0;
    font-size: 22px;
}

.exchange-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.exchange-status.online {
    background: #48bb78;
    color: #fff;
}

.exchange-status.offline {
    background: #718096;
    color: #fff;
}

.exchange-card button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #4a5568;
}

.exchange-card button:disabled:hover {
    transform: none;
}

.exchange-stats-mini {
    margin-bottom: 25px;
}

.stat-mini {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #2d3561;
}

.stat-mini .label {
    color: #a0aec0;
    font-size: 13px;
}

.stat-mini .value {
    color: #4a9eff;
    font-weight: 600;
    font-size: 14px;
}

.exchange-card .btn-primary {
    width: 100%;
}

/* Exchange Detail Screen */
.exchange-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #2d3561;
}

.tab-btn {
    background: transparent;
    color: #a0aec0;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #4a9eff;
}

.tab-btn.active {
    color: #4a9eff;
    border-bottom-color: #4a9eff;
}

.tab-content {
    display: none;
}

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

/* Banking Setup Tab */
.banking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.banking-info-panel,
.banking-actions-panel {
    background: #151a33;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2d3561;
}

.bank-card {
    display: flex;
    gap: 20px;
    background: #0a0e27;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2d3561;
    margin-bottom: 25px;
}

.bank-logo {
    flex-shrink: 0;
}

.bank-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a9eff 0%, #3a8eef 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.bank-details h4 {
    color: #4a9eff;
    margin-bottom: 8px;
    font-size: 18px;
}

.bank-details p {
    margin: 5px 0;
    color: #a0aec0;
    font-size: 14px;
}

.bank-location {
    color: #718096;
}

.banking-stats {
    margin-top: 20px;
}

.banking-stat-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #2d3561;
}

.banking-stat-item .label {
    color: #a0aec0;
    font-size: 14px;
}

.banking-stat-item .value {
    color: #e0e6ed;
    font-weight: 600;
    font-size: 16px;
}

.action-card {
    background: #0a0e27;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #2d3561;
    margin-bottom: 15px;
}

.action-card h4 {
    color: #4a9eff;
    font-size: 16px;
    margin-bottom: 8px;
}

.action-card p {
    color: #a0aec0;
    font-size: 13px;
    margin-bottom: 15px;
}

.btn-secondary {
    background: #2d3561;
    color: #e0e6ed;
    border: 1px solid #4a9eff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #3a4675;
    border-color: #5aa9ff;
}

.terminal-access {
    background: linear-gradient(135deg, #1a2f4a 0%, #2a3f5a 100%);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #4a9eff;
    margin-top: 20px;
}

.terminal-access h4 {
    color: #4a9eff;
}

.terminal-access p {
    color: #a0aec0;
    font-size: 13px;
    margin-bottom: 15px;
}

.terminal-access .btn-primary {
    width: 100%;
}

/* Terminal Tab */
.terminal-nav-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-bottom: 2px solid #2d3561;
    flex-wrap: wrap;
}

.terminal-nav-btn {
    background: #2d3561;
    color: #a0aec0;
    border: 1px solid #4a9eff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.terminal-nav-btn:hover {
    background: #3a4675;
    color: #4a9eff;
}

.terminal-nav-btn.active {
    background: #4a9eff;
    color: #fff;
    border-color: #4a9eff;
}

.terminal-container {
    position: relative;
}

/* Terminal Screens */
.terminal-screen {
    display: none;
}

.terminal-screen.active {
    display: block;
}

/* Commodities Screen */
.commodities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.commodity-info-panel,
.commodity-trading-panel {
    background: #151a33;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2d3561;
}

.gold-stats {
    margin-bottom: 20px;
}

.gold-stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #2d3561;
}

.gold-stat-item .label {
    color: #a0aec0;
    font-size: 14px;
}

.gold-stat-item .value {
    color: #e0e6ed;
    font-weight: 600;
    font-size: 16px;
}

.value.gold {
    color: #f6ad55;
}

.vault-info {
    background: #0a0e27;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #48bb78;
}

.vault-info h4 {
    color: #48bb78;
    font-size: 16px;
    margin-bottom: 12px;
}

.vault-info p {
    margin: 8px 0;
    font-size: 14px;
    color: #a0aec0;
}

.certificate-info-box {
    background: #2d3561;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #f6ad55;
}

.certificate-info-box p {
    margin: 5px 0;
    font-size: 14px;
}

.order-book-mini {
    margin-bottom: 20px;
    padding: 15px;
    background: #0a0e27;
    border-radius: 5px;
}

.order-book-mini h4 {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 15px;
}

.mini-orderbook-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.mini-orderbook-grid h5 {
    color: #718096;
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.price-display {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.price-display.ask {
    color: #fc8181;
}

.price-display.bid {
    color: #68d391;
}

.amount-display {
    color: #a0aec0;
    font-size: 13px;
}

.spread-mini {
    padding: 10px;
    background: #2d3561;
    border-radius: 5px;
}

.spread-value {
    color: #4a9eff;
    font-weight: 600;
    margin-top: 5px;
}

.commodity-order-form {
    margin-bottom: 20px;
}

.commodity-order-type-btn {
    flex: 1;
    background: #2d3561;
    color: #e0e6ed;
    border: 1px solid #4a9eff;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.commodity-order-type-btn.active {
    background: #4a9eff;
    color: #fff;
}

.trade-summary {
    background: #2d3561;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.summary-item .value {
    color: #4a9eff;
    font-weight: 600;
}

.btn-trade {
    width: 100%;
}

.redemption-options {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2d3561;
}

.redemption-options h4 {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 15px;
}

.redemption-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.redemption-card {
    background: #0a0e27;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #2d3561;
}

.redemption-card h5 {
    color: #4a9eff;
    font-size: 14px;
    margin-bottom: 8px;
}

.redemption-card p {
    margin: 5px 0;
    font-size: 13px;
    color: #a0aec0;
}

.holdings-panel {
    background: #151a33;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2d3561;
    margin-bottom: 25px;
}

.holdings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.holdings-table th {
    color: #a0aec0;
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #2d3561;
    font-weight: 500;
}

.holdings-table td {
    padding: 12px;
    border-bottom: 1px solid #2d3561;
}

.btn-small {
    background: #4a9eff;
    color: #fff;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-small:hover {
    background: #3a8eef;
}

.recent-commodity-trades {
    background: #151a33;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2d3561;
}

.commodity-trades-list {
    font-size: 14px;
}

.commodity-trade-item {
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 3px;
    background: #0a0e27;
}

.commodity-trade-item.buy {
    border-left: 3px solid #68d391;
}

.commodity-trade-item.sell {
    border-left: 3px solid #fc8181;
}

/* Responsive */
@media (max-width: 768px) {
    .trading-grid,
    .collateral-grid,
    .commodities-grid {
        grid-template-columns: 1fr;
    }

    .config-grid {
        grid-template-columns: 1fr;
    }

    .settlement-stats {
        grid-template-columns: 1fr;
    }

    .redemption-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   REAL ESTATE EXCHANGE STYLES
   ======================================== */

.exchange-type-badge {
    background: linear-gradient(135deg, #4a9eff 0%, #667eea 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.realestate-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 30px;
}

.realestate-container > .property-listings {
    flex: 1 1 auto;
    min-width: 0;
}

.realestate-container > .orderbook-panel {
    flex: 0 0 450px;
    width: 450px;
}

@media (max-width: 900px) {
    .realestate-container {
        flex-direction: column !important;
        max-height: 90vh !important;
    }

    .realestate-container > .property-listings {
        max-height: 45vh !important;
        overflow-y: auto !important;
        flex-shrink: 0 !important;
    }

    .realestate-container > .property-list {
        max-height: none !important;
    }

    .realestate-container > .orderbook-panel {
        flex: 1 1 auto !important;
        width: 100% !important;
        overflow-y: auto !important;
        max-height: 45vh !important;
    }
}

/* Property Listings (Left Side) */
.property-listings {
    background: #151a33;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #2d3561;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2d3561;
}

.listings-header h3 {
    color: #4a9eff;
    font-size: 22px;
}

.filter-controls {
    display: flex;
    gap: 15px;
}

.filter-controls select {
    background: #0a0e27;
    color: #e0e6ed;
    border: 1px solid #2d3561;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.filter-controls select:hover {
    border-color: #4a9eff;
}

.property-list {
    max-height: 1200px;
    overflow-y: auto;
    padding-right: 10px;
}

.property-card {
    position: relative;
    background: #1a1f3a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    border: 1px solid #2d3561;
    cursor: pointer;
    transition: all 0.3s ease;
}

.property-card:hover {
    border-color: #4a9eff;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(74, 158, 255, 0.2);
}

.property-card.selected {
    border: 2px solid #4a9eff;
    background: #1e2442;
}

.property-reference {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(74, 158, 255, 0.2);
    border: 1px solid #4a9eff;
    color: #4a9eff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
}

.property-reference-badge {
    display: inline-block;
    background: rgba(74, 158, 255, 0.15);
    border: 1px solid #4a9eff;
    color: #4a9eff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
}

.property-image {
    width: 180px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    background: #2d3561;
    flex-shrink: 0;
}

.property-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-title {
    font-size: 18px;
    font-weight: 600;
    color: #4a9eff;
    margin-bottom: 8px;
}

.property-location {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-description {
    color: #cbd5e0;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-specs {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #a0aec0;
    margin-bottom: 12px;
}

.property-price {
    font-size: 24px;
    font-weight: 700;
    color: #48bb78;
    margin-top: auto;
}

.property-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 15px;
}

.property-status.available {
    background: rgba(72, 187, 120, 0.2);
    color: #48bb78;
}

/* Order Book Panel (Right Side) */
.orderbook-panel {
    background: #151a33;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #2d3561;
    position: sticky;
    top: 20px;
    height: fit-content;
    width: 100%;
}

.selected-property-card {
    background: #1a1f3a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #2d3561;
}

.selected-property-card .no-selection {
    color: #a0aec0;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.selected-property-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.selected-property-title {
    font-size: 18px;
    font-weight: 600;
    color: #4a9eff;
    margin-bottom: 5px;
}

.selected-property-location {
    color: #a0aec0;
    font-size: 14px;
}

.selected-property-price {
    font-size: 28px;
    font-weight: 700;
    color: #48bb78;
    margin-top: 10px;
}

.payment-methods {
    background: #1a1f3a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #2d3561;
}

.payment-methods h4 {
    color: #4a9eff;
    font-size: 16px;
    margin-bottom: 15px;
}

.payment-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-chip {
    background: rgba(74, 158, 255, 0.15);
    color: #4a9eff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(74, 158, 255, 0.3);
}

.orderbook-section {
    background: #1a1f3a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #2d3561;
}

.orderbook-section h3 {
    color: #4a9eff;
    font-size: 18px;
    margin-bottom: 15px;
}

.orderbook-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.orderbook-tab {
    flex: 1;
    background: #0a0e27;
    color: #a0aec0;
    border: 1px solid #2d3561;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.orderbook-tab.active {
    background: #4a9eff;
    color: white;
    border-color: #4a9eff;
}

.orderbook-tab:hover:not(.active) {
    border-color: #4a9eff;
    color: #4a9eff;
}

.orderbook-content {
    max-height: 300px;
    overflow-y: auto;
}

.orderbook-content .no-data {
    color: #a0aec0;
    text-align: center;
    padding: 30px;
    font-style: italic;
}

.order-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 10px;
    border-bottom: 1px solid #2d3561;
    font-size: 14px;
}

.order-row:hover {
    background: rgba(74, 158, 255, 0.1);
}

.order-row.ask {
    color: #fc8181;
}

.order-row.bid {
    color: #48bb78;
}

.order-price {
    font-weight: 600;
}

.order-quantity {
    color: #a0aec0;
}

.order-total {
    text-align: right;
    color: #cbd5e0;
}

/* Trading Form */
.trading-form {
    background: #1a1f3a;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #2d3561;
}

.trading-form h3 {
    color: #4a9eff;
    font-size: 18px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group select,
.form-group input {
    width: 100%;
    background: #0a0e27;
    color: #e0e6ed;
    border: 1px solid #2d3561;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #4a9eff;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.trading-form .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
}

.trading-form .btn-primary:disabled {
    background: #2d3561;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Responsive Design - removed duplicate, handled above at line 1447 */

/* Tablet and smaller desktop responsiveness */
@media (max-width: 1200px) {
    .trading-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .property-list {
        max-height: 600px !important;
    }

    .orderbook-panel {
        position: relative !important;
        top: 0 !important;
    }

    .exchange-grid {
        grid-template-columns: 1fr;
    }

    .exchanges-section {
        padding: 40px 0;
    }

    .exchange-card {
        max-width: 100%;
    }
}

/* Mobile and Tablet (max-width: 768px) */
@media (max-width: 768px) {
    header h1 {
        font-size: 22px;
    }

    .powered-by {
        font-size: 12px;
    }

    nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-btn {
        padding: 8px 15px;
        font-size: 14px;
        white-space: nowrap;
    }

    .property-card {
        flex-direction: column;
        padding: 15px;
    }

    .property-image {
        width: 100%;
        height: 200px;
    }

    .property-info {
        width: 100%;
    }

    .property-title {
        font-size: 16px;
    }

    .property-price {
        font-size: 20px;
    }

    .filter-controls {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .filter-controls select {
        width: 100%;
    }

    .payment-chips {
        flex-direction: column;
        gap: 10px;
    }

    .payment-chip {
        text-align: center;
        width: 100%;
    }

    .trading-grid {
        grid-template-columns: 1fr;
    }

    .orderbook-panel,
    .order-entry-panel {
        padding: 15px;
    }

    .trading-form {
        padding: 15px;
    }

    .trading-form h3 {
        font-size: 16px;
    }

    .exchange-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-value {
        font-size: 18px;
    }

    .property-listings {
        padding: 15px;
    }

    .listings-header h3 {
        font-size: 18px;
    }

    .property-details-section {
        padding: 15px;
    }

    .selected-property-summary {
        padding: 15px;
    }

    .exchange-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .exchange-stats-mini {
        grid-template-columns: 1fr 1fr;
    }

    .adacan-main-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }

    .adacan-main-tab {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .project-key-stats {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra small mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    header h1 {
        font-size: 18px;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 13px;
        margin-right: 5px;
    }

    .exchange-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .exchange-card {
        padding: 15px;
    }

    .exchange-header h3 {
        font-size: 16px;
    }

    .exchange-stats-mini {
        grid-template-columns: 1fr;
    }

    .stat-mini {
        padding: 8px;
    }

    .property-card {
        margin-bottom: 15px;
    }

    .property-features {
        grid-template-columns: 1fr;
    }

    .property-meta {
        grid-template-columns: 1fr 1fr;
    }

    .exchange-stats-grid {
        grid-template-columns: 1fr;
    }

    .trading-form .form-group {
        margin-bottom: 12px;
    }

    .btn-primary {
        padding: 12px;
        font-size: 14px;
    }

    .orderbook table {
        font-size: 12px;
    }

    .orderbook th,
    .orderbook td {
        padding: 4px;
    }
}

/* ============================================
   ADACAN GOLD EXCHANGE STYLES
   ============================================ */

/* Gold color scheme */
.gold-text {
    color: #FFD700;
    font-weight: 600;
}

.gold-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1f3a;
}

.gold-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1f3a;
    font-weight: 700;
}

.gold-btn:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* ZLN Exchange color scheme */
.zln-badge {
    background: linear-gradient(135deg, #00D9FF 0%, #0099FF 100%);
    color: #ffffff;
}

.zln-btn {
    background: linear-gradient(135deg, #00D9FF 0%, #0099FF 100%);
    color: #ffffff;
    font-weight: 700;
}

.zln-btn:hover {
    background: linear-gradient(135deg, #0099FF 0%, #00D9FF 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
}

/* Main Tab Navigation */
.adacan-main-tabs {
    display: flex;
    gap: 10px;
    margin: 30px 0 20px 0;
    border-bottom: 2px solid #2d3561;
    padding-bottom: 0;
}

.adacan-main-tab {
    padding: 15px 30px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #a0aec0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.adacan-main-tab:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.05);
}

.adacan-main-tab.active {
    color: #FFD700;
    border-bottom-color: #FFD700;
}

/* Adacan Container */
.adacan-container {
    margin-top: 30px;
    max-width: 1200px;
}

/* Tab Panels */
.adacan-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.adacan-tab-panel.active {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

/* Project Main Card */
.project-main-card {
    background: #1a1f3a;
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 30px;
}

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

.project-header h3 {
    font-size: 28px;
    color: #FFD700;
    margin: 0 0 10px 0;
}

.project-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1f3a;
}

.badge-status {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
}

.gold-icon {
    font-size: 48px;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0aec0;
    font-size: 16px;
    margin-bottom: 20px;
}

.location-icon {
    font-size: 20px;
}

.project-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2d3561 0%, #1a1f3a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid #3d4561;
}

.image-content {
    text-align: center;
    color: #a0aec0;
}

.placeholder-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 10px;
}

.project-key-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.key-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.key-stat .stat-label {
    color: #a0aec0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.key-stat .stat-value {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

/* Tranche Info Card */
.tranche-info-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 25px;
}

.tranche-info-card h4 {
    color: #FFD700;
    margin: 0 0 15px 0;
    font-size: 20px;
}

.tranche-highlight {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tranche-comparison {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
}

.tranche-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.tranche-item.current {
    border: 2px solid #4ade80;
}

.tranche-item.future {
    border: 2px solid #a0aec0;
}

.tranche-label {
    color: #a0aec0;
    font-size: 13px;
}

.tranche-price {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.tranche-arrow {
    font-size: 32px;
    color: #FFD700;
}

/* Production Dashboard */
.production-dashboard {
    background: #1a1f3a;
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 30px;
}

.production-dashboard h4 {
    color: #FFD700;
    margin: 0 0 20px 0;
    font-size: 20px;
}

.dashboard-notice {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
}

.dashboard-notice p {
    color: #e2e8f0;
    margin: 5px 0;
}

.notice-subtext {
    font-size: 13px;
    color: #a0aec0;
}

.production-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.metric-card {
    background: #1e2442;
    border: 1px solid #3d4561;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-icon {
    font-size: 28px;
}

.metric-label {
    color: #a0aec0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.metric-sub {
    color: #64748b;
    font-size: 11px;
    font-style: italic;
}

.distribution-history {
    margin-top: 25px;
}

.distribution-history h5 {
    color: #e2e8f0;
    margin: 0 0 15px 0;
    font-size: 16px;
}

.history-table {
    background: #1e2442;
    border: 1px solid #3d4561;
    border-radius: 8px;
    padding: 20px;
}

.history-table .no-data {
    color: #a0aec0;
    text-align: center;
    margin: 0;
}

/* Key Features Section */
.key-features-section {
    background: #1a1f3a;
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 30px;
}

.key-features-section h4 {
    color: #FFD700;
    margin: 0 0 20px 0;
    font-size: 20px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    color: #e2e8f0;
}

.feature-item::before {
    content: '✓';
    color: #4ade80;
    font-weight: bold;
    font-size: 18px;
}

/* Distribution Mechanism Card */
.distribution-mechanism-card {
    background: #1a1f3a;
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 30px;
}

.distribution-mechanism-card h3 {
    color: #FFD700;
    margin: 0 0 25px 0;
    font-size: 22px;
}

/* Documents Section */
.documents-section {
    background: #1a1f3a;
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 30px;
}

.documents-section h3 {
    color: #FFD700;
    margin: 0 0 25px 0;
    font-size: 22px;
}

/* Risks Section */
.risks-section {
    background: #1a1f3a;
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 30px;
}

.risks-section h3 {
    color: #FFD700;
    margin: 0 0 25px 0;
    font-size: 22px;
}

/* Offering Details Content */
.offering-details-content {
    background: #1a1f3a;
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 30px;
}

/* Accredited Investor Notice */
.accredited-notice {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
}

.notice-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.notice-content h4 {
    color: #fca5a5;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.notice-content p {
    color: #e2e8f0;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Investment Summary */
.investment-summary {
    background: #1a1f3a;
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 25px;
}

.investment-summary h3 {
    color: #FFD700;
    margin: 0 0 20px 0;
    font-size: 20px;
}

.summary-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #2d3561;
}

.summary-stat:last-child {
    border-bottom: none;
}

.summary-stat .label {
    color: #a0aec0;
    font-size: 14px;
}

.summary-stat .value {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* Distribution Calculator */
.distribution-calculator {
    background: #1a1f3a;
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 25px;
}

.distribution-calculator h3 {
    color: #FFD700;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.calculator-desc {
    color: #a0aec0;
    font-size: 13px;
    margin: 0 0 20px 0;
}

.calculator-results {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid #FFD700;
    border-radius: 10px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-label {
    color: #a0aec0;
    font-size: 13px;
}

.result-value {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.result-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.result-note small {
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

/* Investment Form */
.investment-form {
    background: #1a1f3a;
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 25px;
}

.investment-form h3 {
    color: #FFD700;
    margin: 0 0 20px 0;
    font-size: 18px;
}

.ai-status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 1px solid #4ade80;
    border-radius: 8px;
    color: #4ade80;
    font-weight: 600;
}

.status-icon {
    font-size: 20px;
}

.form-disclaimer {
    margin-top: 15px;
    padding: 15px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid #3b82f6;
    border-radius: 8px;
}

.form-disclaimer small {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.5;
}

/* Offering Details Tabs */
.offering-details-tabs {
    background: #1a1f3a;
    border: 2px solid #2d3561;
    border-radius: 12px;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #1e2442;
    border-bottom: 2px solid #2d3561;
}

.tab-btn {
    flex: 1;
    padding: 15px 10px;
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: rgba(255, 215, 0, 0.05);
    color: #FFD700;
}

.tab-btn.active {
    color: #FFD700;
    border-bottom-color: #FFD700;
}

.tab-content {
    padding: 25px;
}

.tab-panel {
    display: none;
}

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

.tab-panel h4 {
    color: #FFD700;
    margin: 0 0 20px 0;
    font-size: 18px;
}

/* Distribution Flow */
.distribution-flow {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1f3a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    color: #e2e8f0;
    font-size: 14px;
}

.flow-arrow {
    text-align: center;
    color: #FFD700;
    font-size: 24px;
    margin: -5px 0;
}

.distribution-formula {
    margin-top: 25px;
    padding: 20px;
    background: #1e2442;
    border: 1px solid #3d4561;
    border-radius: 10px;
}

.distribution-formula h5 {
    color: #FFD700;
    margin: 0 0 10px 0;
    font-size: 14px;
}

.distribution-formula code {
    display: block;
    color: #4ade80;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .adacan-container {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    /* Tab Navigation - horizontal scroll on mobile */
    .adacan-main-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        margin: 20px -15px;
        padding: 0 15px;
        gap: 5px;
    }

    .adacan-main-tabs::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .adacan-main-tab {
        padding: 12px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    /* Cards and sections - full width on mobile */
    .project-main-card,
    .tranche-info-card,
    .key-features-section,
    .production-dashboard,
    .distribution-calculator,
    .investment-form,
    .distribution-mechanism-card,
    .documents-section,
    .risks-section,
    .offering-details-content,
    .accredited-notice {
        margin: 0;
        border-radius: 8px;
        padding: 20px;
    }

    /* Stats grid - single column */
    .project-key-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .production-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Tranche comparison - stack vertically */
    .tranche-comparison {
        flex-direction: column;
        gap: 15px;
    }

    .tranche-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    /* Form inputs - better mobile sizing */
    input[type="number"],
    select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px;
    }

    /* Buttons - full width on mobile */
    .btn-primary,
    .gold-btn {
        width: 100%;
        padding: 14px;
        font-size: 15px;
    }

    /* Calculator results - better spacing */
    .calculator-results {
        margin-top: 15px;
        padding: 15px;
    }

    .result-item {
        padding: 8px 0;
    }

    /* Distribution flow - adjust for mobile */
    .flow-step {
        padding: 12px;
        font-size: 13px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .step-text {
        font-size: 13px;
    }

    /* Project header - stack on mobile */
    .project-header {
        flex-direction: column;
        gap: 15px;
    }

    .gold-icon {
        font-size: 36px;
        align-self: center;
    }

    /* Metric cards - adjust padding */
    .metric-card {
        padding: 15px;
    }

    .metric-value {
        font-size: 18px;
    }

    /* Feature items - adjust sizing */
    .feature-item {
        padding: 10px;
        font-size: 14px;
    }

    /* Accredited notice - adjust layout */
    .accredited-notice {
        flex-direction: column;
        text-align: center;
    }

    .notice-icon {
        font-size: 24px;
    }

    /* Production dashboard header */
    .production-dashboard h3,
    .distribution-mechanism-card h3,
    .documents-section h3,
    .risks-section h3 {
        font-size: 18px;
    }

    /* Image placeholder - reduce height */
    .project-image-placeholder {
        height: 150px;
    }

    .placeholder-icon {
        font-size: 48px;
    }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 480px) {
    .adacan-main-tab {
        padding: 10px 14px;
        font-size: 12px;
    }

    .project-main-card,
    .tranche-info-card,
    .key-features-section,
    .production-dashboard,
    .distribution-calculator,
    .investment-form,
    .distribution-mechanism-card {
        padding: 15px;
    }

    .project-header h3 {
        font-size: 22px;
    }

    .project-key-stats {
        gap: 12px;
    }

    .key-stat .stat-value {
        font-size: 18px;
    }

    .production-metrics {
        gap: 12px;
    }

    .metric-card {
        padding: 12px;
    }

    .tranche-highlight {
        font-size: 14px;
    }

    .tranche-price {
        font-size: 20px;
    }
}
