/**
 * © 2024–2025 TiltCheck Ecosystem. All Rights Reserved.
 * Created by jmenichole (https://github.com/jmenichole)
 * 
 * This file is part of the TiltCheck project.
 * For licensing information, see LICENSE file in the project root.
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0E0E0F;
    color: #B8C4CE;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-box {
    background: #1A1F24;
    padding: 2.5rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 198, 0.1);
    text-align: center;
    max-width: 400px;
}

.login-box h1 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.login-box p {
    color: #6B7280;
    margin-bottom: 2rem;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #5865F2;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: opacity 0.2s ease-out;
}

.btn-discord:hover {
    opacity: 0.9;
}

header {
    background: #111316;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 198, 0.1);
    margin-bottom: 1.5rem;
}

header h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    background: linear-gradient(135deg, #00FFC6 0%, #00C2FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 198, 0.2);
}

.tabs {
    background: #111316;
    padding: 0 2rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 198, 0.1);
}

.tab {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    color: #6B7280;
    border-bottom: 2px solid transparent;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s ease-out, border-color 0.2s ease-out;
}

.tab:hover {
    color: #B8C4CE;
}

.tab.active {
    color: #00FFC6;
    border-bottom-color: #00FFC6;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: #1A1F24;
    padding: 1.25rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 198, 0.1);
}

.stat-card h3 {
    font-size: 0.8rem;
    color: #6B7280;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'JetBrains Mono', monospace;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: bold;
    color: #00FFC6;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.wallet-card {
    background: #1A1F24;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 198, 0.1);
}

.wallet-card.primary {
    border-color: #00FFC6;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.wallet-address {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    color: #6B7280;
    font-size: 0.85rem;
}

.badge {
    background: rgba(0, 255, 198, 0.12);
    color: #00FFC6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.transaction {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #1A1F24;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 255, 198, 0.1);
}

.tx-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.2rem;
}

.transaction.sent .tx-icon {
    background: rgba(255, 82, 82, 0.12);
    color: #FF5252;
}

.transaction.received .tx-icon {
    background: rgba(76, 175, 80, 0.12);
    color: #4CAF50;
}

.activity-item {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 0.875rem;
    background: #1A1F24;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0, 255, 198, 0.1);
}

.activity-icon {
    font-size: 1.25rem;
}

.activity-details {
    flex: 1;
}

.activity-time {
    font-size: 0.7rem;
    color: #6B7280;
    font-family: 'JetBrains Mono', monospace;
}

.settings-section {
    background: #1A1F24;
    padding: 1.25rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 198, 0.1);
}

.settings-section h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.settings-section label {
    display: block;
    margin-bottom: 0.75rem;
    cursor: pointer;
    color: #B8C4CE;
}

.settings-section input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #00FFC6;
}

button, .btn-primary, .btn-secondary, .btn-small {
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.2s ease-out;
}

.btn-primary {
    background: #00FFC6;
    color: #0E0E0F;
    border-color: #00FFC6;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: #1A1F24;
    color: #B8C4CE;
    border-color: rgba(0, 255, 198, 0.2);
}

.btn-secondary:hover {
    border-color: rgba(0, 255, 198, 0.4);
}

.btn-small {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}

.help-text {
    font-size: 0.85rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.earnings-amount {
    font-size: 2.25rem;
    font-weight: bold;
    color: #4CAF50;
    margin: 1rem 0;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.profile-field {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 198, 0.1);
}

.field-label {
    font-weight: 500;
    text-transform: capitalize;
    color: #fff;
}
