html {
    scrollbar-gutter: stable;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: #1a1a2e;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffcc00;
}

.user-panel {
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance {
    background-color: #16213e;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    color: #ffcc00;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #F1F1F1;
    color: #1a1a2e;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}


.btn-login {
    background-color: #ffcc00;
    color: #1a1a2e;
    border: 1px solid #ffcc00;
}

.btn-register, .btn-deposit, .btn-withdraw, .btn-logout {
    background-color: #ffcc00;
    color: #1a1a2e;
}


.btn-sync {
    background-color: #2196F3;
    color: white;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Navigation */
nav {
    background-color: #16213e;
    padding: 10px 0;
    margin-bottom: 15px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu li a {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-menu li a:hover, .nav-menu li a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main content */
main {
    padding: 30px 0;
    flex: 1;
}

.banner {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.banner p {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-primary {
    background-color: #ffcc00;
    color: #1a1a2e;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
}

/* Section styles */
.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffcc00;
}

/* Providers section */
.providers-section {
    margin-bottom: 30px;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.provider-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.provider-logo {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 15px;
    text-align: center;
}

.provider-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.provider-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.provider-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
}

.btn-provider {
    background-color: #1a1a2e;
    color: white;
    width: 100%;
    padding: 12px;
    margin-top: auto;
}

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

/* Profile styles */
.user-profile {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.profile-avatar {
    margin-right: 20px;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background-color: #ffcc00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #1a1a2e;
}

.profile-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #1a1a2e;
}

.verification-status {
    margin-top: 10px;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.verified {
    background-color: #d1edff;
    color: #004085;
}

.status-badge.rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.profile-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.transaction-history {
    margin-top: 30px;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

.transaction-info {
    flex: 1;
}

.transaction-type {
    font-weight: bold;
    margin-bottom: 5px;
}

.transaction-date {
    font-size: 12px;
    color: #666;
}

.transaction-amount {
    font-weight: bold;
    font-size: 18px;
}

.transaction-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal h2 {
    margin-bottom: 20px;
    color: #1a1a2e;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-modal {
    flex: 1;
    padding: 10px;
}

/* Deposit/Withdraw specific styles */
.crypto-address {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    font-family: monospace;
    word-break: break-all;
    text-align: center;
    border: 1px dashed #ddd;
}

.copy-btn {
    background-color: #1a1a2e;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
}

.network-info {
    background-color: #fff8e1;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    font-size: 14px;
    border-left: 3px solid #ffcc00;
}

.panel {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pending-deposits, .pending-withdrawals {
    margin-top: 20px;
}

.deposit-item, .withdrawal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 10px;
}

.deposit-info, .withdrawal-info {
    flex: 1;
}

.deposit-actions, .withdrawal-actions {
    display: flex;
    gap: 10px;
}

.btn-confirm {
    background-color: #4caf50;
    color: white;
}

.btn-reject {
    background-color: #f44336;
    color: white;
}

.admin-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.admin-tab.active {
    border-bottom-color: #ffcc00;
    font-weight: bold;
}

.admin-tab-content {
    display: none;
}

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

/* Users list styles */
.users-list {
    margin-top: 20px;
}

.user-item {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #ffcc00;
}

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

.user-name {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a2e;
}

.user-id {
    font-family: monospace;
    background-color: #1a1a2e;
    color: #ffcc00;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.user-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.user-detail {
    font-size: 14px;
}

.user-detail strong {
    color: #1a1a2e;
}

.user-stats {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.stat-item {
    background-color: white;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

.stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a2e;
}

.search-box {
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.stat-card .number {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a2e;
}

/* Verification section */
.verification-section {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.verification-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.verification-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #eee;
    z-index: 1;
}

.verification-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
}

.step-number.active {
    background-color: #ffcc00;
    color: #1a1a2e;
}

.step-number.completed {
    background-color: #4caf50;
    color: white;
}

.step-label {
    font-size: 14px;
    color: #666;
}

.verification-requirements {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.requirements-list {
    list-style-type: none;
}

.requirements-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

/* Change password section */
.change-password-section {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

/* Sync status */
.sync-status {
    background-color: #e8f5e8;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 4px solid #4caf50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sync-status.error {
    background-color: #ffebee;
    border-left-color: #f44336;
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 14px;
}


.form-alert {
    background-color: #ffebee;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 4px solid #f44336;
    margin-bottom: 15px;
    display: none;
    font-size: 14px;
}
.form-alert.show {
    display: block;
}
