/* ============================================
   MODERN COMPONENT STYLES
   ============================================ */

/* Status Badges */
.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.status-pending::before {
    background: #F59E0B;
}

.status-accepted {
    background: rgba(22, 163, 74, 0.1);
    color: #16A34A;
}

.status-accepted::before {
    background: #16A34A;
}

.status-rejected {
    background: rgba(220, 38, 38, 0.1);
    color: #DC2626;
}

.status-rejected::before {
    background: #DC2626;
}

/* Blur Effects for Free Users */
.blur-content {
    position: relative;
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    z-index: 10;
    backdrop-filter: blur(2px);
}

.blur-overlay .btn {
    pointer-events: all;
}

/* Contact Details Blur */
.contact-blur {
    filter: blur(4px);
    position: relative;
}

.contact-blur::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

/* Modern Buttons */
.btn-modern {
    border-radius: var(--radius-md);
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-modern:active {
    transform: translateY(0);
}

/* Form Modern */
.form-modern .form-control,
.form-modern .form-select {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    background-color: var(--color-bg-card);
    color: var(--color-text-primary);
}

.form-modern .form-control:focus,
.form-modern .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

/* Stats Cards */
.stats-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    border-left: 4px solid var(--color-primary);
}

.stats-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stats-label {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Table Modern */
.table-modern {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table-modern thead {
    background: var(--color-primary);
    color: white;
}

.table-modern tbody tr {
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
    background-color: var(--color-bg);
    transform: scale(1.01);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-text-secondary);
}

.empty-state i {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

/* Spinner Modern */
.spinner-modern {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Nav Tabs Modern */
.nav-tabs-modern {
    border-bottom: 2px solid var(--color-border);
}

.nav-tabs-modern .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--color-text-secondary);
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    border-radius: 0;
}

.nav-tabs-modern .nav-link:hover {
    border-bottom-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.nav-tabs-modern .nav-link.active {
    border-bottom-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    font-weight: 600;
}

/* Profile Details */
.profile-details p,
.request-details p {
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
}

.profile-details i,
.request-details i {
    width: 20px;
    text-align: center;
    color: var(--color-primary);
}

/* Dashboard Specific Styles */
.gradient-banner {
    background: var(--gradient-hero);
    border: none;
    color: white;
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.2);
}

.gradient-banner .text-white {
    color: white !important;
}

.gradient-banner .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-pill {
    text-align: center;
    color: white;
}

.pill-label {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.pill-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.action-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.action-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.action-card:hover::before {
    transform: scaleY(1);
}

.action-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--gradient-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15);
    transition: all 0.3s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.25);
}

.badge-soft {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.dashboard-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Enhanced Page Headers */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border-light);
}

.page-header h1, .page-header h2, .page-header h3 {
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.page-header .subtitle {
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
    font-size: 1rem;
}

/* Enhanced Cards */
.enhanced-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.enhanced-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(233, 30, 99, 0.15);
    border-color: var(--color-primary);
}

.enhanced-card:hover::before {
    transform: scaleX(1);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-enhanced {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.stat-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.12);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gradient-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Profile Card Clickable */
.profile-card-clickable {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.profile-card-clickable:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(233, 30, 99, 0.2);
}

.profile-card-clickable .btn {
    transition: all 0.3s ease;
}

.profile-card-clickable:hover .btn {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

/* Sticky Filter Card */
.sticky-top {
    position: sticky;
    z-index: 10;
}
