/* Admin Panel Styles */
.admin-body {
    background: var(--dark-bg);
    min-height: 100vh;
}

/* Admin Header */
.admin-header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.admin-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.admin-logo span {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--gray-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.admin-nav a i {
    font-size: 1rem;
}

.logout-btn {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.2) !important;
}

/* Admin Main Content */
.admin-main {
    margin-top: 80px;
    padding: 2rem 0;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.admin-welcome {
    text-align: center;
    margin-bottom: 3rem;
}

.admin-welcome h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.admin-welcome p {
    font-size: 1.2rem;
    color: var(--gray-text);
}

/* Admin Blocks Grid */
.admin-blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-block {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-block:hover::before {
    opacity: 1;
}

.admin-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.block-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.block-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.block-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

.block-content p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.block-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.block-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.block-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Quick Actions */
.quick-actions {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.quick-actions h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.action-btn i {
    font-size: 1.1rem;
}

/* Login Page Styles */
.admin-login-body {
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    margin-bottom: 1.5rem;
}

.login-logo img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
}

.login-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--gray-text);
    font-size: 1.1rem;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert i {
    font-size: 1.1rem;
}

/* Login Form */
.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder {
    color: var(--gray-text);
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Login Footer */
.login-footer {
    text-align: center;
}

.back-to-site {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.back-to-site:hover {
    color: var(--light-text);
}

.login-note {
    color: var(--gray-text);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Page Header Styles */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-title p {
    color: var(--gray-text);
    font-size: 1.1rem;
}

.page-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Overview Cards */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.overview-card .card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.overview-card .card-content h3 {
    font-size: 0.875rem;
    color: var(--gray-text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-card .card-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.overview-card .card-change {
    font-size: 0.75rem;
    font-weight: 600;
}

.overview-card .card-change.positive {
    color: #22c55e;
}

.overview-card .card-change.negative {
    color: #ef4444;
}

.overview-card .card-change.neutral {
    color: var(--gray-text);
}

/* Management Tabs */
.management-tabs {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
}

.tab-btn.active {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

/* Content Header */
.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.content-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-text);
}

.search-filter {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--light-text);
    min-width: 200px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-select {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--light-text);
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Data Tables */
.data-table {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--light-text);
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--gray-text);
}

.data-table tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

/* Badges */
.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-individual {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-institutional {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-employee {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-purchase {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-sale {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-transfer {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-deposit {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-withdrawal {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-swap {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-technology {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-marketing {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.badge-sales {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Status Indicators */
.status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status.planned {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Action Buttons */
.action-btn-small {
    background: none;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-right: 0.25rem;
}

.action-btn-small:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
}

/* Schedule Cards */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.schedule-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.schedule-header h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
}

.schedule-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.schedule-status.planned {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.schedule-details {
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    color: var(--gray-text);
    font-size: 0.875rem;
}

.detail-item .value {
    color: var(--light-text);
    font-weight: 600;
}

.schedule-actions {
    display: flex;
    gap: 0.5rem;
}

/* Distribution Cards */
.distribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.distribution-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.distribution-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.distribution-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.distribution-header h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
}

.distribution-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.distribution-status.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.distribution-status.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.distribution-details {
    margin-bottom: 1rem;
}

.distribution-actions {
    display: flex;
    gap: 0.5rem;
}

/* Model Cards */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.model-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.model-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.model-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.model-header h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
}

.model-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.model-details {
    margin-bottom: 1rem;
}

.model-actions {
    display: flex;
    gap: 0.5rem;
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.report-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.report-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.report-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.chart-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 2px dashed var(--border-color);
    color: var(--gray-text);
}

.chart-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.chart-placeholder p {
    text-align: center;
    font-size: 0.875rem;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.setting-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.setting-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.setting-item {
    margin-bottom: 1rem;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-item label {
    display: block;
    color: var(--gray-text);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.setting-input {
    width: 100%;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--light-text);
}

.setting-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.setting-select {
    width: 100%;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--light-text);
    cursor: pointer;
}

.setting-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Wallet Cards */
.wallets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.wallet-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.wallet-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.wallet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.wallet-header h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
}

.wallet-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wallet-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.wallet-details {
    margin-bottom: 1rem;
}

.wallet-actions {
    display: flex;
    gap: 0.5rem;
}

/* Coin Info */
.coin-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coin-info i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.analytics-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.analytics-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.analytics-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
}

/* Settings Form Styles */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.form-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.form-help {
    color: var(--gray-text);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.setting-textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--light-text);
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

.setting-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Calculation Preview */
.calculation-preview {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-item:last-child {
    border-bottom: none;
}

.preview-item.highlight {
    background: rgba(0, 212, 255, 0.1);
    margin: 0 -1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
}

.preview-label {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.preview-value {
    color: var(--light-text);
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.preview-item.highlight .preview-value {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Eligibility Rules */
.eligibility-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.rule-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.rule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.rule-header h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
}

.rule-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rule-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.rule-content {
    margin-bottom: 1rem;
}

.rule-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rule-detail:last-child {
    border-bottom: none;
}

.rule-label {
    color: var(--gray-text);
    font-size: 0.875rem;
}

.rule-value {
    color: var(--light-text);
    font-weight: 600;
}

.rule-actions {
    display: flex;
    gap: 0.5rem;
}

/* Distribution Settings */
.distribution-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Advanced Settings */
.advanced-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Share Classes Styles */
.share-classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.share-class-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.share-class-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.class-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.class-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.class-info h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0;
}

.class-code {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.875rem;
    min-width: 30px;
    text-align: center;
}

.class-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.class-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.class-details {
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--gray-text);
    font-size: 0.875rem;
}

.detail-value {
    color: var(--light-text);
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.class-actions {
    display: flex;
    gap: 0.5rem;
}

/* Equity Summary */
.equity-summary {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.equity-summary h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item.highlight {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    font-weight: 700;
}

.summary-label {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.summary-value {
    color: var(--light-text);
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.summary-item.highlight .summary-value {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Structure Settings */
.structure-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Ownership Rules */
.ownership-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Login Header and Footer Styles */
.login-header-main {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.login-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-header-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.login-header-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0;
}

.login-header-text p {
    color: var(--gray-text);
    font-size: 0.8rem;
    margin: 0;
}

.login-header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--gray-text);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.header-nav-link:hover {
    color: var(--light-text);
    background: rgba(255, 255, 255, 0.05);
}

.header-nav-link.client-link {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.header-nav-link.client-link:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.header-nav-link.admin-link {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary-color);
}

.header-nav-link.admin-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
}

/* Login Footer */
.login-footer-main {
    background: rgba(15, 15, 15, 0.95);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 3rem 0 1rem 0;
}

.login-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.login-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.login-footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0 0 1rem 0;
}

.login-footer-section p {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.login-footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.login-footer-section ul li {
    margin-bottom: 0.5rem;
}

.login-footer-section ul li a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.login-footer-section ul li a:hover {
    color: var(--light-text);
}

.login-footer-section ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 16px;
}

.login-footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.login-footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
}

.login-footer-bottom p {
    color: var(--gray-text);
    font-size: 0.8rem;
    margin: 0;
}

.login-footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-footer-bottom a:hover {
    text-decoration: underline;
}

/* Adjust login container for header */
.admin-login-body .login-container {
    margin-top: 100px;
}

.client-login-body .login-container {
    margin-top: 100px;
}

/* Responsive Design */

/* Login Header and Footer Responsive */
@media (max-width: 768px) {
    .login-header-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .login-header-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .login-footer-container {
        padding: 0 1rem;
    }

    .login-footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .login-footer-social {
        justify-content: center;
    }

    .admin-login-body .login-container,
    .client-login-body .login-container {
        margin-top: 140px;
    }
}

@media (max-width: 480px) {
    .login-header-text h1 {
        font-size: 1rem;
    }

    .login-header-text p {
        font-size: 0.7rem;
    }

    .header-nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .header-nav-link span {
        display: none;
    }

    .login-footer-section h4 {
        font-size: 1rem;
    }

    .login-footer-section p {
        font-size: 0.8rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }
}
@media (max-width: 768px) {
    .admin-nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .admin-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .admin-nav a {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }

    .admin-container {
        padding: 0 1rem;
    }

    .admin-welcome h1 {
        font-size: 2rem;
    }

    .admin-blocks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .admin-block {
        padding: 1.5rem;
    }

    .block-stats {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-header h1 {
        font-size: 1.75rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .overview-cards {
        grid-template-columns: 1fr;
    }

    .tab-navigation {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        min-width: 120px;
    }

    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-filter {
        width: 100%;
    }

    .search-input {
        min-width: 150px;
    }

    .schedule-grid,
    .distribution-grid,
    .models-grid,
    .reports-grid,
    .settings-grid,
    .wallets-grid,
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .admin-nav {
        flex-direction: column;
        width: 100%;
    }

    .admin-nav a {
        justify-content: center;
    }

    .admin-welcome h1 {
        font-size: 1.75rem;
    }

    .block-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .login-container {
        padding: 1rem;
    }

    .page-title h1 {
        font-size: 1.5rem;
    }

    .overview-card {
        flex-direction: column;
        text-align: center;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .data-table {
        font-size: 0.875rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
} 