/* ============================================
   DASHBOARD STYLES
   ============================================ */

.dashboard {
    padding-top: 90px;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .dashboard {
        padding-bottom: 3rem;
    }
}

.header-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-greeting {
    display: none;
    font-size: 0.875rem;
    color: var(--gray-600);
}

@media (min-width: 640px) {
    .user-greeting {
        display: block;
    }
}

.user-greeting strong {
    color: var(--gray-900);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* Points Card */
.points-card {
    margin-bottom: 1.5rem;
}

.points-card-inner {
    position: relative;
    background: var(--gradient-warm);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    color: var(--white);
    overflow: hidden;
}

@media (min-width: 640px) {
    .points-card-inner {
        padding: 2rem;
    }
}

.points-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: url('../images/doodles-pattern.png');
    background-size: 200px;
    opacity: 0.1;
}

.points-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.points-label {
    font-size: 0.875rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.25rem;
}

.points-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .points-value {
        font-size: 3rem;
    }
}

.points-worth {
    font-size: 0.875rem;
    opacity: 0.85;
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    display: inline-block;
}

.points-icon {
    opacity: 0.3;
}

.points-actions {
    display: flex;
    gap: 0.75rem;
    position: relative;
}

.points-actions .btn {
    flex: 1;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .stats-grid {
        gap: 1rem;
    }
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

@media (min-width: 640px) {
    .stat-card {
        flex-direction: row;
        align-items: center;
        padding: 1.25rem;
    }
}

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

.stat-icon.earned {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.stat-icon.redeemed {
    background: rgba(237, 28, 36, 0.1);
    color: var(--primary);
}

.stat-icon.bookings {
    background: rgba(253, 219, 0, 0.2);
    color: #B8860B;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: block;
}

.stat-value {
    font-size: 1.25rem;
    color: var(--gray-900);
}

/* Section Title */
.section-title-sm {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

/* Quick Links */
.quick-links {
    margin-bottom: 2rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .quick-links-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    text-align: center;
}

.quick-link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.quick-link-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.quick-link-card span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* Recent Activity */
.recent-activity {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon.earned {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.activity-icon.redeemed {
    background: rgba(237, 28, 36, 0.1);
    color: var(--primary);
}

.activity-info {
    flex: 1;
    min-width: 0;
}

.activity-info strong {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-900);
}

.activity-info span {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-points {
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.activity-points.positive {
    color: #10B981;
}

.activity-points.negative {
    color: var(--primary);
}

.view-all-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.view-all-link:hover {
    text-decoration: underline;
}
