/* Professional Referral Link Generator - Advanced UI */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --warning-color: #f97316;
    --info-color: #06b6d4;
    
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-border: #334155;
    --dark-text: #f1f5f9;
    --dark-muted: #94a3b8;
    
    --light-bg: #f8fafc;
    --light-card: #ffffff;
    --light-border: #e2e8f0;
    --light-text: #1e293b;
    --light-muted: #64748b;
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warning: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== Professional Navbar ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--light-text);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

/* ===== Hero Section ===== */
.hero-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
}

/* ===== Professional Cards ===== */
.card {
    background: var(--light-card);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid var(--light-border);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--light-text);
}

.card-body {
    padding: 2rem;
}

/* ===== Advanced Form Styling ===== */
.form-control, .form-select {
    border: 2px solid var(--light-border);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-card);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-text {
    color: var(--light-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ===== Professional Buttons ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-warning {
    background: var(--gradient-warning);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== Platform Cards ===== */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.platform-card {
    background: var(--light-card);
    border: 2px solid var(--light-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.platform-card:hover::before {
    opacity: 0.1;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.platform-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    box-shadow: var(--shadow-md);
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
}

.platform-name {
    font-weight: 600;
    color: var(--light-text);
    position: relative;
    z-index: 1;
}

/* ===== Results Section ===== */
.results-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-success);
}

.results-header {
    background: var(--gradient-success);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.results-body {
    padding: 2rem;
}

/* ===== Advanced Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ===== Loading States ===== */
.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* ===== Professional Tables ===== */
.table {
    background: var(--light-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table thead th {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: none;
    font-weight: 600;
    color: var(--light-text);
    padding: 1rem;
}

.table tbody td {
    border: none;
    border-bottom: 1px solid var(--light-border);
    padding: 1rem;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

/* ===== Badges and Status Indicators ===== */
.badge {
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--gradient-primary);
    color: white;
}

.badge-success {
    background: var(--gradient-success);
    color: white;
}

.badge-warning {
    background: var(--gradient-warning);
    color: white;
}

/* ===== Professional Alerts ===== */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.alert-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

/* ===== Dashboard Cards ===== */
.dashboard-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.dashboard-card:hover::before {
    transform: scaleX(1);
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.analytics-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .platform-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* ===== Dark Mode Support ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --light-bg: var(--dark-bg);
        --light-card: var(--dark-card);
        --light-border: var(--dark-border);
        --light-text: var(--dark-text);
        --light-muted: var(--dark-muted);
    }
    
    .navbar {
        background: rgba(15, 23, 42, 0.95);
        border-bottom-color: var(--dark-border);
    }
    
    .form-control, .form-select {
        background: var(--dark-card);
        border-color: var(--dark-border);
        color: var(--dark-text);
    }
}

/* ===== Custom Utilities ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.shadow-custom {
    box-shadow: var(--shadow-xl);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--gradient-primary) border-box;
}

/* ===== Advanced Hover Effects ===== */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.hover-scale {
    transition: var(--transition);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ===== Hero Section Enhancements ===== */
.hero-badge {
    display: inline-block;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-light);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    color: var(--color-light);
    opacity: 0.8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Quick Generator Section ===== */
.quick-generator-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #f8f9fa 100%);
}

/* ===== Results Section ===== */
.results-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

/* ===== Features Section ===== */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, var(--light-bg) 100%);
}

.feature-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--light-border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ===== Platform Showcase ===== */
.platforms-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.platform-showcase-card {
    background: var(--light-card);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    border: 1px solid var(--light-border);
    transition: var(--transition);
}

.platform-showcase-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.platform-showcase-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: white;
}

.platform-showcase-name {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--light-text);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* ===== Authentication Pages ===== */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-bg) 0%, #f8f9fa 100%);
    padding: 2rem 0;
    display: flex;
    align-items: center;
}

.auth-card {
    background: var(--light-card);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

/* Auth Hero Section */
.auth-hero {
    background: var(--gradient-primary);
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.auth-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.auth-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.auth-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.auth-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.auth-feature-text h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.auth-feature-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Auth Form Section */
.auth-form {
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-content {
    width: 100%;
    max-width: 400px;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.auth-form-subtitle {
    color: var(--light-muted);
    font-size: 1rem;
}

.auth-form-body {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-error {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.auth-form-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--light-border);
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive Design for Auth Pages */
@media (max-width: 991px) {
    .auth-hero {
        padding: 2rem 1.5rem;
    }
    
    .auth-form {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 2rem;
    }
    
    .auth-features {
        gap: 1rem;
    }
    
    .auth-feature {
        gap: 0.75rem;
    }
    
    .auth-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .auth-container {
        padding: 1rem 0;
    }
    
    .auth-hero {
        padding: 1.5rem 1rem;
    }
    
    .auth-form {
        padding: 1.5rem 1rem;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .auth-form-title {
        font-size: 1.5rem;
    }
    
    .auth-features {
        gap: 0.75rem;
    }
    
    .auth-feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ===== Profile & Settings Pages ===== */
.profile-container, .settings-container {
    padding: 2rem 0;
    background: var(--light-bg);
    min-height: 100vh;
}

.profile-header, .settings-header {
    margin-bottom: 2rem;
}

.profile-title, .settings-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.profile-subtitle, .settings-subtitle {
    color: var(--light-muted);
    font-size: 1.1rem;
}

/* Profile Cards */
.profile-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.profile-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-border);
}

.profile-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0;
}

.profile-card-body {
    padding: 2rem;
}

/* Profile Information */
.profile-info-item {
    margin-bottom: 1.5rem;
}

.profile-label {
    font-weight: 600;
    color: var(--light-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.profile-value {
    font-size: 1rem;
    color: var(--light-text);
    font-weight: 500;
}

/* Statistics Cards */
.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius);
    border: 1px solid var(--light-border);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0;
}

.stat-label {
    color: var(--light-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius);
    border: 1px solid var(--light-border);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: var(--light-text);
    margin: 0 0 0.25rem 0;
}

.activity-description {
    color: var(--light-muted);
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.activity-time {
    color: var(--light-muted);
    font-size: 0.75rem;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius);
    border: 1px solid var(--light-border);
    text-decoration: none;
    color: var(--light-text);
    transition: var(--transition);
}

.quick-action-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--light-text);
    text-decoration: none;
}

.quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.quick-action-content h6 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.quick-action-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--light-muted);
}

/* Settings Navigation */
.settings-nav {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.settings-nav-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--light-border);
    color: var(--light-text);
}

.settings-nav-item:last-child {
    border-bottom: none;
}

.settings-nav-item:hover {
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary-color);
}

.settings-nav-item.active {
    background: var(--gradient-primary);
    color: white;
}

/* Settings Sections */
.settings-section {
    display: none;
}

.settings-section.active {
    display: block;
}

.settings-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.settings-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-border);
}

.settings-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0 0 0.5rem 0;
}

.settings-card-subtitle {
    color: var(--light-muted);
    font-size: 0.875rem;
    margin: 0;
}

.settings-card-body {
    padding: 2rem;
}

/* Settings Items */
.security-item, .notification-item, .privacy-item, .appearance-item, .data-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.security-info, .notification-info, .privacy-info, .appearance-info, .data-info {
    flex: 1;
}

.security-info h5, .notification-info h5, .privacy-info h5, .appearance-info h5, .data-info h5 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: var(--light-text);
}

.security-info p, .notification-info p, .privacy-info p, .appearance-info p, .data-info p {
    margin: 0;
    color: var(--light-muted);
    font-size: 0.875rem;
}

/* Color Scheme Options */
.color-scheme-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.color-option:hover {
    background: rgba(99, 102, 241, 0.05);
}

.color-option.active {
    background: rgba(99, 102, 241, 0.1);
}

.color-preview {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--light-border);
}

.color-option span {
    font-size: 0.875rem;
    color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 991px) {
    .settings-nav {
        margin-bottom: 1.5rem;
    }
    
    .settings-nav-item {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 768px) {
    .profile-title, .settings-title {
        font-size: 2rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .security-item, .notification-item, .privacy-item, .appearance-item, .data-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .color-scheme-options {
        justify-content: center;
    }
}

/* ===== Shortener Page ===== */
.shortener-container {
    padding: 2rem 0;
    background: var(--light-bg);
    min-height: 100vh;
}

.shortener-header {
    margin-bottom: 2rem;
}

.shortener-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.shortener-subtitle {
    color: var(--light-muted);
    font-size: 1.1rem;
}

.shortener-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.shortener-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-border);
}

.shortener-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0 0 0.5rem 0;
}

.shortener-card-subtitle {
    color: var(--light-muted);
    font-size: 0.875rem;
    margin: 0;
}

.shortener-card-body {
    padding: 2rem;
}

.results-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 2px solid var(--success-color);
}

.results-card-header {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    padding: 1.5rem;
    color: white;
}

.results-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.results-card-body {
    padding: 2rem;
}

.result-item {
    margin-bottom: 1.5rem;
}

.result-label {
    font-weight: 600;
    color: var(--light-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.result-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== Short Links Page ===== */
.short-links-container {
    padding: 2rem 0;
    background: var(--light-bg);
    min-height: 100vh;
}

.short-links-header {
    margin-bottom: 2rem;
}

.short-links-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.short-links-subtitle {
    color: var(--light-muted);
    font-size: 1.1rem;
}

.search-filter-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-muted);
}

.search-box .form-control {
    padding-left: 2.5rem;
}

.short-links-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.short-links-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-border);
}

.short-links-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0;
}

.short-links-card-body {
    padding: 2rem;
}

.short-code-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.short-code {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.url-cell {
    max-width: 300px;
}

.original-url {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
}

.original-url:hover {
    text-decoration: underline;
}

.click-count {
    font-weight: 600;
    color: var(--success-color);
}

.created-date, .last-clicked {
    color: var(--light-muted);
    font-size: 0.875rem;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--light-muted);
    margin-bottom: 1rem;
}

.empty-state h4 {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--light-muted);
    margin-bottom: 1.5rem;
}

/* ===== Campaigns Page ===== */
.campaigns-container {
    padding: 2rem 0;
    background: var(--light-bg);
    min-height: 100vh;
}

.campaigns-header {
    margin-bottom: 2rem;
}

.campaigns-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.campaigns-subtitle {
    color: var(--light-muted);
    font-size: 1.1rem;
}

.campaign-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.campaign-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.campaign-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.campaign-title-section {
    flex: 1;
}

.campaign-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0 0 0.5rem 0;
}

.campaign-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.campaign-status.active {
    background: var(--success-color);
    color: white;
}

.campaign-status.inactive {
    background: var(--light-muted);
    color: white;
}

.campaign-actions {
    display: flex;
    gap: 0.5rem;
}

.campaign-card-body {
    padding: 1.5rem;
    flex: 1;
}

.campaign-description {
    color: var(--light-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.campaign-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius);
}

.campaign-stat {
    text-align: center;
    flex: 1;
}

.campaign-stat i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.campaign-stat .stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-text);
}

.campaign-stat .stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--light-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.campaign-links {
    margin-bottom: 1.5rem;
}

.campaign-links h6 {
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
}

.link-platform {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.link-url {
    flex: 1;
    color: var(--light-text);
    word-break: break-all;
}

.link-clicks {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.75rem;
}

.link-more {
    text-align: center;
    padding: 0.5rem;
}

.campaign-card-footer {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid var(--light-border);
    display: flex;
    gap: 0.5rem;
}

/* ===== Summary Cards ===== */
.summary-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.summary-content {
    flex: 1;
}

.summary-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0 0 0.25rem 0;
}

.summary-label {
    color: var(--light-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* ===== Feature Cards ===== */
.feature-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}

.feature-card h5 {
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light-muted);
    line-height: 1.6;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .shortener-title, .short-links-title, .campaigns-title {
        font-size: 2rem;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .campaign-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .campaign-card-footer {
        flex-direction: column;
    }
    
    .summary-card {
        flex-direction: column;
        text-align: center;
    }
    
    .action-buttons {
        flex-wrap: wrap;
    }
}

/* ===== Analytics Page ===== */
.analytics-container {
    padding: 2rem 0;
    background: var(--light-bg);
    min-height: 100vh;
}

.analytics-header {
    margin-bottom: 2rem;
}

.analytics-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.analytics-subtitle {
    color: var(--light-muted);
    font-size: 1.1rem;
}

/* Filter Card */
.filter-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.filter-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-border);
}

.filter-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0;
}

.filter-card-body {
    padding: 2rem;
}

/* Chart Cards */
.chart-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
}

.chart-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.chart-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-border);
}

.chart-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0;
}

.chart-card-body {
    padding: 1.5rem;
}

/* Analytics Card */
.analytics-card {
    background: var(--light-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.analytics-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-border);
}

.analytics-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0;
}

.analytics-card-body {
    padding: 2rem;
}

/* Platform Badge */
.platform-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Analytics Table Styles */
.unique-count {
    font-weight: 600;
    color: var(--info-color);
}

.ctr-rate {
    font-weight: 600;
    color: var(--warning-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .analytics-title {
        font-size: 2rem;
    }
    
    .filter-card-body {
        padding: 1rem;
    }
    
    .chart-card-body {
        padding: 1rem;
    }
    
    .analytics-card-body {
        padding: 1rem;
    }
}

/* ===== Professional Footer ===== */
.footer {
    background: var(--dark-bg);
    color: var(--dark-text);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: var(--dark-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding-top: 1rem;
    text-align: center;
    color: var(--dark-muted);
}

/* ===== Admin Panel Styles ===== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.admin-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.admin-sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.admin-sidebar-logo i {
    font-size: 1.5rem;
    color: #3498db;
}

.admin-sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.admin-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav-item {
    margin: 0.5rem 0;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-left-color: #3498db;
}

.admin-nav-item.active .admin-nav-link {
    background: rgba(52, 152, 219, 0.2);
    color: white;
    border-left-color: #3498db;
}

.admin-nav-link i {
    width: 20px;
    text-align: center;
}

.admin-sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-sidebar-link:hover {
    color: white;
    text-decoration: none;
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    padding: 0;
    overflow-x: hidden;
}

.admin-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.admin-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 2rem 3rem;
    margin-bottom: 2rem;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-header-left {
    flex: 1;
}

.admin-header-right {
    display: flex;
    gap: 1rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.admin-stat-card {
    min-width: 0;
}

.admin-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 0 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.admin-chart-card:first-child {
    grid-column: 1 / -1;
}

.admin-chart-card:last-child {
    grid-column: 1 / -1;
}

.admin-activity-card,
.admin-actions-card {
    min-width: 0;
}

.admin-health-section {
    padding: 0 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #6c757d;
}

.empty-chart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-chart p {
    font-size: 1.1rem;
    margin: 0;
}

.admin-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.admin-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.admin-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.admin-header-stats {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.admin-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.admin-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.admin-stat-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.admin-card-primary {
    border-left: 4px solid #667eea;
}

.admin-card-success {
    border-left: 4px solid #28a745;
}

.admin-card-warning {
    border-left: 4px solid #ffc107;
}

.admin-card-info {
    border-left: 4px solid #17a2b8;
}

.admin-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #495057;
}

.admin-card-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-card-body {
    padding: 1.5rem;
}

.admin-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.admin-card-primary .admin-card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-card-success .admin-card-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.admin-card-warning .admin-card-icon {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.admin-card-info .admin-card-icon {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%);
}

.admin-card-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #495057;
}

.admin-card-label {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.admin-card-trend {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.activity-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.8rem;
    color: #adb5bd;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.quick-action-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.quick-action-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.quick-action-content h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #495057;
}

.quick-action-content p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.system-health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.health-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.health-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.health-content h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #495057;
}

.health-status {
    font-weight: 600;
    color: #28a745;
    margin-bottom: 0.25rem;
}

.health-details {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Admin Content Sections */
.admin-content-section {
    padding: 0 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.admin-search-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-input-group {
    display: flex;
    gap: 1rem;
    width: 100%;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 10;
}

.search-input {
    padding-left: 2.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    height: 45px;
}

.search-btn {
    height: 45px;
    padding: 0 1.5rem;
    border-radius: 10px;
    white-space: nowrap;
}

/* Admin Table Styles */
.admin-table-responsive {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.admin-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.admin-table thead th {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1rem;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
}

.admin-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.admin-table-row:hover {
    background-color: #f8f9fa;
}

/* User Info Styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: #495057;
}

.user-id {
    font-size: 0.8rem;
    color: #6c757d;
}

.user-email {
    color: #495057;
    font-weight: 500;
}

/* Status and Role Badges */
.status-badge, .role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-inactive {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.role-admin {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.role-user {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Date Info */
.date-info {
    display: flex;
    flex-direction: column;
}

.date-main {
    font-weight: 600;
    color: #495057;
}

.date-sub {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.action-btn {
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
}

/* Admin Badge Info */
.admin-badge-info {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Admin Pagination */
.admin-pagination {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.admin-pagination .pagination {
    margin: 0;
}

.admin-pagination .page-link {
    border: none;
    color: #495057;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.admin-pagination .page-link:hover {
    background: #e9ecef;
    color: #495057;
}

.admin-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #6c757d;
    font-size: 2rem;
}

.empty-state h4 {
    color: #495057;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #6c757d;
    margin: 0;
}

/* Link Info Styles */
.link-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.link-title {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.link-url {
    color: #6c757d;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.link-id {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Platform Badge Styles */
.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.platform-facebook {
    background: rgba(66, 103, 178, 0.1);
    color: #4267b2;
}

.platform-youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.platform-instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}

.platform-twitter {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.platform-reddit {
    background: rgba(255, 69, 0, 0.1);
    color: #ff4500;
}

.platform-pinterest {
    background: rgba(189, 8, 28, 0.1);
    color: #bd081c;
}

.platform-google {
    background: rgba(66, 133, 244, 0.1);
    color: #4285f4;
}

.platform-bing {
    background: rgba(0, 162, 232, 0.1);
    color: #00a2e8;
}

.platform-yandex {
    background: rgba(255, 204, 0, 0.1);
    color: #ffcc00;
}

.platform-chatgpt {
    background: rgba(16, 163, 127, 0.1);
    color: #10a37f;
}

.platform-grok {
    background: rgba(255, 69, 0, 0.1);
    color: #ff4500;
}

.platform-deepseek {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.platform-gemini {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* Click Stats */
.click-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.click-count {
    font-size: 1.2rem;
    font-weight: 700;
    color: #495057;
}

.click-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Campaign Info Styles */
.campaign-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.campaign-name {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.campaign-description {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

.campaign-id {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Link Stats */
.link-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.link-count {
    font-size: 1.2rem;
    font-weight: 700;
    color: #495057;
}

.link-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Analytics Icon */
.analytics-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Performance Bar */
.performance-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.performance-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Empty Chart */
.empty-chart {
    text-align: center;
    padding: 2rem 1rem;
}

.empty-chart-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #6c757d;
    font-size: 1.5rem;
}

.empty-chart h5 {
    color: #495057;
    margin-bottom: 0.5rem;
}

.empty-chart p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

/* Settings Styles */
.settings-group {
    margin-bottom: 1.5rem;
}

.settings-label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.settings-group .form-control {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.settings-group .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.settings-group .form-check {
    margin-bottom: 0.5rem;
}

.settings-group .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

/* System Info Grid */
.system-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.system-info-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.system-info-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.system-info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #495057;
}

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .admin-header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .admin-header-right {
        justify-content: center;
    }
    
    .admin-title {
        font-size: 2rem;
    }
    
    .admin-header-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .admin-content-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .admin-health-section {
        padding: 0 1rem;
    }
    
    .admin-content-section {
        padding: 0 1rem;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .admin-table-responsive {
        font-size: 0.9rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .system-health-grid {
        grid-template-columns: 1fr;
    }
} 