/* ========== DASHBOARD PAGE OVERRIDES ========== */
/* Remove outer card effect from page-content only on dashboard */
.dashboard-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.dashboard-content::before {
    display: none !important;
}

/* Override borders.css forcing borders on page-content - highest priority */
.page-container .dashboard-content,
.dashboard-content,
div.dashboard-content {
    border: none !important;
    border-color: transparent !important;
}

.dashboard-content:hover,
.dashboard-content:focus,
.dashboard-content:active {
    border: none !important;
    border-color: transparent !important;
}

/* ========== SLEEK DASHBOARD STYLES ========== */
.profile-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto;
    padding: 2rem;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border: 1px solid #2d3748 !important;
    border-radius: 1.5rem;
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 2rem auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(72, 187, 120, 0.02) 50%, transparent 60%);
    pointer-events: none;
}

.profile-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(45, 55, 72, 0.5);
    position: relative;
    z-index: 2;
    width: 100%;
}

.profile-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #48bb78;
    box-shadow: 0 0 20px rgba(72, 187, 120, 0.3);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #48bb78, #38a169);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a202c;
}

.avatar-fallback svg {
    width: 28px;
    height: 28px;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.profile-id {
    font-size: 0.8rem;
    color: #a0aec0;
    font-family: 'Courier New', monospace;
    margin: 0;
    opacity: 0.8;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: rgba(45, 55, 72, 0.2);
    border: 1px solid rgba(45, 55, 72, 0.5);
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    background: rgba(45, 55, 72, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.subscription-icon {
    background: linear-gradient(135deg, #5cc8db, rgb(82, 133, 141));
    color: #1a202c;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.steam-icon {
    background: linear-gradient(135deg, #1b2838, #2a3f5f);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(27, 40, 56, 0.3);
    padding: 6px;
}

.steam-icon-navigation {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.steam-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.2;
}

.stat-value.premium {
    color: #ffd700;
}

.stat-value.connected {
    color: #0b77ab;
}

.stat-value.disconnected {
    color: #f56565;
}

.stat-label {
    font-size: 0.7rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Action Section */
.action-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.primary-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-upgrade {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: #1a202c;
    border: none;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.btn-upgrade:hover {
    background: linear-gradient(135deg, #38a169, #2f855a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.5);
}

.btn-upgrade svg {
    width: 16px;
    height: 16px;
}

.btn-manage {
    background: transparent;
    color: #48bb78;
    border: 1px solid #48bb78;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.75rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-manage:hover {
    background: #48bb78;
    color: #1a202c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.3);
}

.btn-manage svg {
    width: 16px;
    height: 16px;
}

.secondary-actions {
    display: flex;
    justify-content: center;
}

.btn-logout {
    background: transparent;
    color: #a0aec0;
    border: none;
    padding: 0.625rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.btn-logout:hover {
    background: rgba(245, 101, 101, 0.1);
    color: #f56565;
}

.btn-logout svg {
    width: 14px;
    height: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-section {
        padding: 1.5rem;
        max-width: 100%;
        margin: 1rem auto;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }
    
    .profile-avatar {
        width: 56px;
        height: 56px;
    }
    
    .profile-name {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .primary-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-upgrade,
    .btn-manage {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .profile-section {
        padding: 1.25rem;
        border-radius: 1rem;
        margin: 0.5rem auto;
    }
    
    .profile-avatar {
        width: 48px;
        height: 48px;
    }
    
    .profile-name {
        font-size: 1.125rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 36px;
        height: 36px;
    }
    
    .stat-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .stat-value {
        font-size: 0.9rem;
    }
} 