/* Admin Panel Styles */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #667eea;
    --primary-light: #764ba2;
    --secondary: #ffffff;
    --accent: #888888;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --background: #0a0a0a;
    --border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-light: rgba(255, 255, 255, 0.6);
    --shadow: rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Archivo', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #2d2d2d 100%);
}

.login-container {
    background: white;
    padding: 50px;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.admin-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.admin-logo-icon {
    width: 32px;
    height: 32px;
    fill: var(--primary);
}

.login-logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 8px;
    color: var(--primary);
    margin: 0;
}

.login-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
}

.login-form {
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    background: white;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    color: var(--danger);
    font-size: 13px;
    margin: 15px 0;
    display: none;
}

.error-message.show {
    display: block;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    font-family: 'Archivo', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    padding: 12px 24px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-family: 'Archivo', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-danger {
    padding: 12px 24px;
    background: var(--danger);
    color: white;
    border: none;
    font-family: 'Archivo', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #dc2626;
}

.login-footer {
    text-align: center;
}

.back-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary);
}

.dev-info {
    margin-top: 30px;
    padding: 20px;
    background: #fef3c7;
    border-left: 4px solid var(--warning);
    font-size: 13px;
}

.dev-info code {
    background: white;
    padding: 2px 6px;
    font-family: 'Courier New', monospace;
    border: 1px solid var(--border);
}

/* Dashboard Layout */
.dashboard-page {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--primary);
    color: white;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 30px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.sidebar-logo-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.sidebar-logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 6px;
    margin: 0;
}

.sidebar-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

.sidebar-nav {
    flex: 1;
    padding: 30px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 30px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 3px solid white;
}

.sidebar-footer {
    padding: 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.btn-logout {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Archivo', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px 60px;
}

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

.dashboard-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.dashboard-actions {
    display: flex;
    gap: 15px;
}

/* Content Sections */
.content-section {
    display: none;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-description {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 5px;
}

/* Events List */
.events-list {
    display: grid;
    gap: 20px;
}

.event-card {
    background: white;
    border: 2px solid var(--border);
    padding: 25px;
    transition: all 0.3s ease;
}

.event-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px var(--shadow);
}

.event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.event-card-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.event-card-date {
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.event-card-location {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.event-card-time {
    font-size: 13px;
    color: var(--accent);
}

.event-card-description {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.event-card-actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.btn-icon:hover {
    border-color: var(--primary);
}

.btn-icon.edit:hover {
    background: var(--primary);
    color: white;
}

.btn-icon.delete:hover {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid var(--border);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary);
}

.event-form,
.slide-form {
    padding: 30px;
}

.modal-actions,
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.modal-actions button,
.form-actions button {
    flex: 1;
}

/* Slides List */
.slides-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.slide-card {
    background: white;
    border: 2px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.slide-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px var(--shadow);
}

.slide-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f5f5f5;
}

.slide-card-content {
    padding: 20px;
}

.slide-card-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.slide-card-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.slide-card-actions {
    display: flex;
    gap: 10px;
}

/* Settings Form */
.settings-form {
    background: white;
    padding: 40px;
    border: 2px solid var(--border);
    max-width: 800px;
}

.social-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.help-text {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

.settings-section {
    background: white;
    padding: 40px;
    border: 2px solid var(--border);
    max-width: 800px;
    margin-top: 30px;
}

.settings-section h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.export-import-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.current-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--border);
    margin-top: 10px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state svg {
    margin-bottom: 20px;
    opacity: 0.3;
}

/* Success Message */
.success-message {
    background: var(--success);
    color: white;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    display: none;
    animation: slideDown 0.3s ease;
}

.success-message.show {
    display: block;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
    
    .main-content {
        margin-left: 240px;
        padding: 30px 40px;
    }
}

/* Club Proposals Admin */
.club-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border: 2px solid var(--border);
    padding: 25px;
    text-align: center;
}

.stat-card h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
}

.proposals-admin-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.proposal-admin-card {
    background: white;
    border: 2px solid var(--border);
    padding: 30px;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 30px;
    align-items: start;
}

.proposal-admin-image {
    width: 200px;
    height: 120px;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--border);
}

.proposal-admin-info h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.proposal-admin-location {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.proposal-admin-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.proposal-stat-item {
    font-size: 13px;
    color: var(--text-light);
}

.proposal-stat-item strong {
    color: var(--primary);
    font-weight: 600;
}

.proposal-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 10px;
}

.proposal-progress-fill {
    height: 100%;
    background: var(--success);
    transition: width 0.3s ease;
}

.proposal-admin-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.proposal-status-badge {
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

.proposal-status-badge.active {
    background: var(--success);
    color: white;
}

.proposal-status-badge.completed {
    background: var(--primary);
    color: white;
}

.proposal-status-badge.cancelled {
    background: var(--text-light);
    color: white;
}

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

/* Members Section */
.members-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.members-table-container {
    background: white;
    border: 2px solid var(--border);
    overflow-x: auto;
}

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

.members-table thead {
    background: #f9f9f9;
}

.members-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 2px solid var(--border);
}

.members-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.members-table tbody tr:hover {
    background: #f9f9f9;
}

.rank-badge-table {
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}

.rank-badge-table.common {
    background: #CCCCCC;
    color: #000;
}

.rank-badge-table.amethyst {
    background: #9966CC;
    color: white;
}

.rank-badge-table.gold {
    background: #FFD700;
    color: #000;
}

.rank-badge-table.black {
    background: #1A1A1A;
    color: white;
}

.rank-badge-table.diamond {
    background: linear-gradient(135deg, #B9F2FF 0%, #66D9EF 100%);
    color: #000;
}

/* Products Admin */
.products-category-section {
    margin-bottom: 50px;
}

.category-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.products-admin-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.products-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-admin-card {
    background: white;
    border: 2px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-admin-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px var(--shadow);
}

.product-admin-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    position: relative;
}

.product-admin-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-admin-info {
    padding: 20px;
}

.product-admin-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-admin-category {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-admin-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-admin-stock {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-status-badge {
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.product-status-badge.active {
    background: var(--success);
    color: white;
}

.product-status-badge.inactive {
    background: var(--text-light);
    color: white;
}

.product-admin-actions {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

.product-admin-actions .btn-icon {
    flex: 1;
}

/* Image Preview */
.image-preview {
    margin-top: 15px;
    display: none;
}

.image-preview.show {
    display: block;
}

.image-preview img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid var(--border);
}

.image-preview-remove {
    margin-top: 10px;
    padding: 8px 16px;
    background: var(--danger);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.image-preview-remove:hover {
    background: #dc2626;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
    
    .slides-list {
        grid-template-columns: 1fr;
    }
    
    .login-container {
        padding: 30px;
        margin: 20px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .club-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .proposal-admin-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .proposal-admin-image {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Tour Events Styles */
.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.event-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    box-shadow: 0 4px 20px var(--shadow);
    transform: translateY(-4px);
}

.event-card-banner {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-light);
}

.event-card-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
}

.event-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-card-header {
    flex: 1;
}

.event-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.event-card-date {
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 5px;
}

.event-card-location {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.event-card-description {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-top: 8px;
}

.event-card-actions {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.btn-icon {
    padding: 8px 12px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--background);
}

.btn-icon.edit-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.btn-icon.edit-btn:hover svg {
    stroke: white;
}

.btn-icon.delete-btn:hover {
    border-color: var(--danger);
    background: var(--danger);
    color: white;
}

.btn-icon.delete-btn:hover svg {
    stroke: white;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    background: white;
    border-radius: 8px;
    border: 1px dashed var(--border);
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--danger);
    background: white;
    border-radius: 8px;
    border: 1px solid var(--danger);
}

.error-message button {
    margin-top: 15px;
}

.image-preview {
    margin-top: 15px;
}

.image-preview img {
    max-width: 100%;
    border-radius: 4px;
}

/* Member Detail Modal Styles */
.member-detail-card {
    padding: 10px;
}

.member-detail-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 25px;
}

.member-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #666 0%, #333 100%);
}

.avatar-circle.common {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.avatar-circle.gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.avatar-circle.diamond {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.avatar-circle.black {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.avatar-circle.amethyst {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
}

.member-detail-info {
    flex: 1;
}

.member-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text);
}

.member-username {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.member-rank {
    display: inline-block;
}

.rank-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.rank-badge.common {
    background: rgba(148, 163, 184, 0.15);
    color: #64748b;
}

.rank-badge.gold {
    background: rgba(251, 191, 36, 0.15);
    color: #f59e0b;
}

.rank-badge.diamond {
    background: rgba(96, 165, 250, 0.15);
    color: #3b82f6;
}

.rank-badge.black {
    background: rgba(31, 41, 55, 0.15);
    color: #111827;
}

.rank-badge.amethyst {
    background: rgba(167, 139, 250, 0.15);
    color: #8b5cf6;
}

.member-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.detail-group {
    background: var(--background);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.detail-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
}

.detail-value.rank-common { color: #64748b; }
.detail-value.rank-gold { color: #f59e0b; }
.detail-value.rank-diamond { color: #3b82f6; }
.detail-value.rank-black { color: #111827; }
.detail-value.rank-amethyst { color: #8b5cf6; }

.avatar-preview {
    display: flex;
    justify-content: center;
    padding: 15px;
}

