@import url('https://alegorix.eu/assets/css/style.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-primary: #d4145a;
    --color-primary-dark: #93278f;
    --color-secondary: #667eea;
    --color-dark: #1a1a2e;
    --color-light: #ffffff;
    --color-text: #333;
    --color-text-light: #f4f4f4;
    --color-text-grey: #888;
    --color-background: #f8f9ff;
    --color-background-alt: #f9f9f9;
    --gradient-primary: linear-gradient(135deg, #d4145a, #93278f);
    --gradient-hero: linear-gradient(-45deg, #d4145a, #93278f, #667eea, #764ba2);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 10px 40px rgba(212, 20, 90, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--color-background);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav.topbar {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 0 2rem;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

nav.topbar .logo {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

nav.topbar .logo sup {
    font-size: 0.7em;
}

/* Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link::after {
    display: none;
}

.nav-link i {
    font-size: 1rem;
}

.nav-link-admin {
    color: #f39c12;
}

.nav-link-admin:hover {
    background: rgba(243, 156, 18, 0.15);
}

/* Nav Account */
.nav-account {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nav-outline {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.btn-nav-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.btn-nav-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 20, 90, 0.4);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.dropdown-btn i:first-child {
    font-size: 1.2rem;
    color: var(--color-primary);
}

.dropdown-btn i:last-child {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--color-background);
    color: var(--color-primary);
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--color-text-grey);
}

.dropdown-item:hover i {
    color: var(--color-primary);
}

.dropdown-item-danger {
    color: #e74c3c;
}

.dropdown-item-danger i {
    color: #e74c3c;
}

.dropdown-item-danger:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 5px 0;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-dark);
    padding: 20px;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mobile-link i {
    width: 24px;
    text-align: center;
}

.mobile-link-danger {
    color: #e74c3c;
}

.mobile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

/* ============================================
   CONTAINERS
   ============================================ */
.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--color-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--color-light);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(212, 20, 90, 0.3);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-light);
    box-shadow: var(--shadow-primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--color-light);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-light);
}

.btn-lg {
    padding: 18px 50px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--color-background-alt);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-light);
    box-shadow: 0 0 0 4px rgba(212, 20, 90, 0.1);
}

.form-input::placeholder {
    color: var(--color-text-grey);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 10px;
}

.card-description {
    color: var(--color-text-grey);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero-section {
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-mini {
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    padding: 80px 20px;
    text-align: center;
    color: var(--color-light);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: var(--color-light);
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.3);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Floating shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) { width: 80px; height: 80px; top: 20%; left: 10%; animation-delay: 0s; }
.shape:nth-child(2) { width: 120px; height: 120px; top: 60%; left: 80%; animation-delay: 1s; }
.shape:nth-child(3) { width: 60px; height: 60px; top: 80%; left: 20%; animation-delay: 2s; }
.shape:nth-child(4) { width: 100px; height: 100px; top: 10%; left: 70%; animation-delay: 3s; }
.shape:nth-child(5) { width: 50px; height: 50px; top: 40%; left: 5%; animation-delay: 4s; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 20px;
}

.section-light {
    background: var(--color-light);
}

.section-alt {
    background: linear-gradient(180deg, #fff 0%, var(--color-background) 100%);
}

.section-dark {
    background: linear-gradient(135deg, var(--color-dark) 0%, #16213e 100%);
    color: var(--color-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-grey);
    max-width: 600px;
    margin: -40px auto 60px;
}

/* ============================================
   STATS CARDS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212, 20, 90, 0.1);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--color-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-grey);
    margin-top: 8px;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: -10px 10px 40px rgba(0,0,0,0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.feature-description {
    color: var(--color-text-grey);
    line-height: 1.7;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Populaire';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-primary);
    color: var(--color-light);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--color-light);
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.pricing-period {
    color: var(--color-text-grey);
    margin-bottom: 25px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
}

.pricing-features li i {
    color: var(--color-primary);
}

/* ============================================
   PAGE SPECIFIC - AUTH PAGES
   ============================================ */
.auth-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--color-background);
}

.auth-container {
    width: 100%;
    max-width: 480px;
    animation: fadeInUp 0.6s ease-out;
}

.auth-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--color-light);
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 10px;
}

.auth-subtitle {
    color: var(--color-text-grey);
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    color: var(--color-text-grey);
}

.auth-footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-page {
    min-height: calc(100vh - 60px);
    background: var(--color-background);
    padding: 40px 20px;
}

.dashboard-header {
    max-width: 1200px;
    margin: 0 auto 50px;
    animation: fadeInUp 0.6s ease-out;
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.dashboard-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-light);
    box-shadow: var(--shadow-primary);
}

.dashboard-greeting h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 5px;
}

.dashboard-greeting p {
    color: var(--color-text-grey);
    font-size: 1.1rem;
    margin: 0;
}

/* ============================================
   SUCCESS PAGE
   ============================================ */
.success-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--color-background);
}

.success-card {
    text-align: center;
    max-width: 500px;
    animation: fadeInUp 0.6s ease-out;
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: var(--color-light);
    animation: pulse 2s ease-in-out infinite;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.success-message {
    font-size: 1.2rem;
    color: var(--color-text-grey);
    margin-bottom: 40px;
}

/* ============================================
   ACTION CARDS
   ============================================ */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.action-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    border: 1px solid #eee;
    transition: all 0.4s ease;
}

.action-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 20, 90, 0.2);
}

.action-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-light);
    flex-shrink: 0;
}

.action-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 5px;
}

.action-content p {
    font-size: 0.9rem;
    color: var(--color-text-grey);
    margin: 0;
}

.action-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    color: #ccc;
    transition: all 0.3s ease;
}

.action-card:hover .action-arrow {
    color: var(--color-primary);
    transform: translateX(5px);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(67, 233, 123, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(67, 233, 123, 0.3);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.alert-warning {
    background: rgba(241, 196, 15, 0.1);
    color: #f39c12;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.alert-info {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

/* ============================================
   ANALYSES TABLE
   ============================================ */
.analyses-table-wrapper {
    background: var(--color-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.analyses-table {
    width: 100%;
    border-collapse: collapse;
}

.analyses-table thead {
    background: var(--gradient-primary);
    color: white;
}

.analyses-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analyses-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.analyses-table tbody tr {
    transition: all 0.2s ease;
}

.analyses-table tbody tr:hover {
    background: var(--color-background);
}

.analyses-table tbody tr:last-child td {
    border-bottom: none;
}

.site-cell .site-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.site-domain {
    font-weight: 600;
    color: var(--color-dark);
}

.site-url {
    font-size: 0.75rem;
    color: var(--color-text-grey);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.score-badge.score-good {
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

.score-badge.score-medium {
    background: rgba(241, 196, 15, 0.15);
    color: #f39c12;
}

.score-badge.score-bad {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.mini-score {
    font-weight: 500;
    color: var(--color-text-grey);
}

.update-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-secondary);
}

.update-count i {
    font-size: 0.7rem;
}

.update-count.new-badge {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.date-cell {
    color: var(--color-text-grey);
    font-size: 0.85rem;
    white-space: nowrap;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-background);
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 5px;
}

.btn-icon:last-child {
    margin-right: 0;
}

.btn-icon:hover {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.btn-icon-pdf {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.btn-icon-pdf:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-icon-delete {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: none;
    cursor: pointer;
}

.btn-icon-delete:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-icon-restore {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: none;
    cursor: pointer;
}

.btn-icon-restore:hover {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.actions-cell {
    white-space: nowrap;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 30px;
    background: var(--color-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 2rem;
    color: var(--color-text-grey);
}

.empty-state h3 {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--color-text-grey);
    margin-bottom: 25px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .nav-account {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    nav.topbar {
        padding: 0 1rem;
        height: 60px;
    }
    
    .mobile-menu {
        top: 60px;
    }
    
    .container {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: var(--radius-md);
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .auth-card {
        padding: 30px 25px;
    }
    
    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .analyses-table-wrapper {
        overflow-x: auto;
    }
    
    .analyses-table th,
    .analyses-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    
    .analyses-table th:nth-child(3),
    .analyses-table td:nth-child(3),
    .analyses-table th:nth-child(4),
    .analyses-table td:nth-child(4),
    .analyses-table th:nth-child(5),
    .analyses-table td:nth-child(5) {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
