:root {
    --primary-color: #4a90e2;
    --secondary-color: #64ffda;
    --background-color: #0a192f;
    --text-color: #e6f1ff;
    --border-color: #233554;
    
    /* New Colors */
    --success-color: #28a745;
    --warning-color: #ff9800;
    --error-color: #ff4d4f;
    --info-color: #87CEEB;
    --highlight-color: #FFD700;
  }
  
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
}
h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}
p {
    margin-bottom: 15px;
    line-height: 1.6;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
    background-color: #0a192f;
    color: #e6f1ff;
    padding-top: 70px;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.navbar .container {
    max-width: 100%; /* Important pour utiliser toute la largeur */
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}


.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #3a7bc8;
}

.hero {
    position: relative;
    width: 100vw; /* Pleine largeur de la fenêtre */
    margin-left: calc(-50vw + 50%); /* Centrage négatif */
    margin-right: calc(-50vw + 50%);
    height: calc(100vh - 70px); /* Hauteur totale moins la navbar */
    overflow: hidden;
}
.hero .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/assets/images/background.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 47, 0.95) 0%,
        rgba(10, 25, 47, 0.7) 100%
    );
    z-index: 1;
}

.hero-content,
.container {
    position: relative;
    z-index: 2;
}

/* Pour s'assurer que tout le contenu est au-dessus du background */
.section {
    padding: 120px 0; /* Augmentation du padding vertical */
    margin: 60px 0; /* Ajout d'une marge entre les sections */
    position: relative;
}
/* Espacement spécifique pour les sections avec fond */
.section.why-titanshield,
.section.how-it-works {
    margin: 80px 0;
    background: rgba(17, 24, 39, 0.3); /* Fond subtil pour différencier */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Ajustement des titres de section */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Espacement pour la grille de features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 60px auto;
    max-width: 800px;
}
/* Ajustement du How It Works */
.process-flow {
    margin: 80px 0;
    padding: 40px 0;
}

.process-step {
    padding: 0 30px;
}

.process-arrow {
    margin: 0 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
        margin: 40px 0;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .process-flow {
        margin: 60px 0;
    }

    .process-step {
        padding: 0 20px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 47, 0.95) 0%,
        rgba(10, 25, 47, 0.7) 100%
    );
    z-index: 1;
}
.section:not(.hero) {
    padding: 120px 0;
    margin: 60px auto;
    max-width: 1400px;
    padding: 0 50px;
}


.cta-buttons {
    z-index: 11;
    position: relative;
}

.btn {
    position: relative;
    z-index: 12;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature {
    flex-basis: calc(33.333% - 20px);
    text-align: center;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.feature-item i {
    font-size: 3em;
    color: #64ffda;
    margin-bottom: 20px;
}
.feature i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-section {
    position: relative;
    padding: 80px 0;
    background: var(--background);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.pricing-tabs .tab-btn {
    padding: 12px 24px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.1);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-tabs .tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.pricing-content {
    display: none;
}

.pricing-content.active {
    display: block;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}

/* Style des cards */
.pricing-card {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}
.special-offers, .testimonials {
    padding: 60px 0;
}

.offer-grid, .testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.offer-item, .testimonial-item {
    background-color: #112240;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media (max-width: 992px) {
    .pricing-cards {
        flex-wrap: wrap;
    }
    
    .pricing-card {
        flex-basis: calc(50% - 20px);
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .pricing-card {
        flex-basis: 100%;
    }
}

#coming-soon {
    background-color: var(--background-color);
}

.coming-soon-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

textarea {
    height: 150px;
}

@media (max-width: 768px) {
    .features, .pricing-cards, .coming-soon-features {
        flex-direction: column;
    }

    .feature, .pricing-card {
        flex-basis: 100%;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

/* Timeline styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--background-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--background-color);
    position: relative;
    border-radius: 6px;
}

/* Process Flow */
.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    flex: 1;
}

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

.process-arrow {
    font-size: 30px;
    color: var(--primary-color);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-10px);
}

.tech-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
}

.faq-item h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Offer Card */
.offer-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.offer-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.offer-card ul {
    text-align: left;
    margin-bottom: 30px;
}

.offer-card .btn {
    font-size: 18px;
    padding: 15px 30px;
}

.tech-item.coming-soon {
    position: relative;
    overflow: hidden;
}

.tech-item.coming-soon::after {
    content: 'Bientôt disponible';
    position: absolute;
    top: 45px;
    right: -30px;
    background: var(--secondary-color);
    color: var(--background-color);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
}

.tech-item.coming-soon {
    opacity: 0.5;
    filter: grayscale(50%);
}


/* Early Access Program */
.beta-program {
    background: var(--surface);
    border-radius: 24px;
    padding: 48px;
    margin-top: 64px;
}

.beta-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.highlight-item {
    text-align: center;
}

.highlight-item .number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.highlight-item .text {
    color: var(--text-secondary);
    margin-top: 8px;
    display: block;
}

.beta-features ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.beta-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 18px;
}

.beta-features li i {
    color: var(--primary-color);
    font-size: 24px;
}

/* Why TitanShield Section */
.why-titanshield {
    text-align: center;
    padding: 80px 0;
}

.why-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.why-feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.why-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.why-feature-icon i,
.why-feature-icon svg {
    font-size: 32px;
    color: white;
}

.why-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.why-feature-description {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 250px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 60px auto;
    max-width: 800px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.feature-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-item h3 {
    margin-bottom: 16px;
    font-size: 24px;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}



/* Grille "Why TitanShield?" */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.why-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 200px;
    margin: 0 auto;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 48px;
    padding: 0 48px;
}

.process-step {
    text-align: center;
    flex: 1;
}

.step-number {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

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

.step-icon i {
    font-size: 40px;
    color: white;
}

.process-arrow {
    color: var(--primary-color);
    font-size: 24px;
    margin: 0 32px;
}

.features-section {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-section {
    text-align: center;
    padding: 120px 0;
    background: rgba(17, 24, 39, 0.3);
}
.why-features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.why-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    transition: transform 0.3s ease;
}
.why-feature-card:hover {
    transform: translateY(-5px);
}

/* Style des icônes */
.why-feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.why-feature-icon i {
    font-size: 24px;
    color: white;
}

/* Textes */
.why-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.why-feature-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Section CTA */
.titan-cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, 
        rgba(17, 24, 39, 0.8) 0%,
        rgba(79, 70, 229, 0.1) 100%);
    overflow: hidden;
}

.titan-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.titan-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.titan-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.titan-cta-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.titan-cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.titan-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.titan-trust-item {
    text-align: center;
}

.titan-trust-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    animation: titanCountUp 2s ease-out forwards;
}

.titan-trust-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.titan-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.titan-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.titan-cta-btn i {
    font-size: 1.2rem;
}

.titan-cta-btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.titan-cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.titan-cta-btn:hover {
    transform: translateY(-2px);
}

.titan-trusted-by {
    margin-top: 4rem;
    text-align: center;
}

.titan-trusted-label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.titan-company-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.titan-logo-item {
    color: var(--text-secondary);
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.titan-logo-item:hover {
    opacity: 1;
}

@keyframes titanCountUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .titan-cta-title {
        font-size: 2.5rem;
    }

    .titan-trust-indicators {
        flex-direction: column;
        gap: 2rem;
    }

    .titan-cta-buttons {
        flex-direction: column;
    }

    .titan-company-logos {
        gap: 1.5rem;
    }

    .titan-cta-btn {
        width: 100%;
        justify-content: center;
    }
}


/* Dashboard Styles */
.titan-dashboard {
    padding: 2rem;
    margin-top: 70px; /* Pour éviter le chevauchement avec la navbar */
}

.titan-welcome-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.titan-welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.titan-welcome-content {
    position: relative;
    z-index: 1;
}

.titan-welcome-banner h1 {
    color: white;
    margin: 0;
    font-size: 2.5rem;
}

.titan-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.titan-stat-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.titan-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.titan-stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.titan-stat-content {
    flex: 1;
}

.titan-stat-content h3 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 0.5rem 0;
}

.titan-stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.titan-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.titan-action-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.titan-action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .titan-dashboard {
        padding: 1rem;
    }

    .titan-welcome-banner {
        padding: 1.5rem;
    }

    .titan-welcome-banner h1 {
        font-size: 2rem;
    }

    .titan-stats-grid {
        grid-template-columns: 1fr;
    }
}

.titan-welcome-banner {
    background: rgba(17, 24, 39, 0.3); /* Fond plus subtil */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.titan-welcome-content h1 {
    color: #ffffff; /* Blanc pur pour meilleur contraste */
    margin: 0;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Ombre pour meilleure lisibilité */
}

/* Petite animation au chargement */
.titan-welcome-content {
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.metric-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem; /* Augmentation du padding pour éviter que le graphique touche les bords */
}

#vulnerabilityBubbles {
    display: block;
    margin: 0 auto; /* Centre le graphique horizontalement */
    width: 100%; /* Adapte la taille au conteneur */
    max-width: 100%; /* Empêche le débordement */
    height: auto; /* Maintient le ratio du canvas */
}

canvas {
    box-sizing: border-box;
}


.vulnerability-tooltip {
    position: absolute;
    padding: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000;
}

.platform-label {
    position: absolute;
    padding: 5px 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
}

.galaxy-legend {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    padding: 10px;
    border-radius: 4px;
    color: white;
    font-size: 12px;
    z-index: 1000;
}

.severity-indicator {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.severity-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

/* Layout principal */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--background-color);
}

.page-wrapper.with-sidebar {
    padding-left: 250px; /* Largeur du sidebar */
}

/* Navbar styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 1.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

/* Sidebar styling */
/* État par défaut de la sidebar */
.sidebar {
    width: 250px;
    position: fixed;
    left: 0;
    top: 60px;
    bottom: 0;
    background: #0f172a;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    transform: translateX(-250px); /* Caché par défaut sur mobile */
}

.sidebar-nav {
    padding: 1.5rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s;
    gap: 0.75rem;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    background: var(--primary-color);
    color: white;
}

.nav-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 1.5rem;
}

.navbar-end {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto; /* Force l'alignement à droite */
}

/* .notification-icon {
    color: var(--text-color);
    cursor: pointer;
    position: relative;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
} */
.notification-icon,
.user-menu {
    padding: 0.5rem;
    cursor: pointer;
}
.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Responsive */
@media (max-width: 768px) {
    .page-wrapper.with-sidebar {
        padding-left: 0;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }
}

/* Reset du container pour le dashboard */
.page-wrapper.with-sidebar .container {
    max-width: 100%;
    padding: 0 2rem;
}

/* Ajustement du main content */
.main-content {
    flex: 1;
    width: 100%;
    min-height: calc(100vh - 60px);
    margin-top: 60px;
    background: var(--background-color);
    padding: 2rem;
}

/* Correction du dropdown */
.user-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    z-index: 1000;
    margin-top: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    gap: 0.75rem;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-item.text-red-500 {
    color: #ef4444;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Styles spécifiques pour la page de landing */
body.landing-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Styles spécifiques pour le dashboard */
body.dashboard-page .container {
    max-width: 100%;
}
/* Navbar Updates */
.navbar {
    background-color: #0a192f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 60px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle {
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.sidebar-toggle:hover {
    color: var(--primary-color);
}

/* Sidebar Updates */
.sidebar {
    position: fixed;
    left: 0;
    top: 60px;
    bottom: 0;
    width: 250px;
    background: #0f172a;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 10;
}

.sidebar.active {
    transform: translateX(0);
}

/* Sur desktop */
@media (min-width: 768px) {
    .sidebar {
        transform: translateX(0); /* Visible par défaut */
    }

    /* Quand le menu est collapsé */
    body.sidebar-collapsed .sidebar {
        transform: translateX(-250px);
    }
    
    /* Ajuster le contenu principal quand le menu est collapsé */
    body.sidebar-collapsed .main-content {
        margin-left: 0;
    }
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    gap: 1rem;
    transition: all 0.2s;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    background: var(--primary-color);
    color: white;
}

/* Dropdown Updates */
.user-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #0f172a;
    border-radius: 8px;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

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

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Main Content Updates */
.main-content {
    margin-left: 0;
    transition: margin-left 0.3s ease;
    width: 100%;
}

@media (min-width: 768px) {
    .main-content {
        margin-left: 250px;
    }
}

.container {
    padding: 2rem;
}

/* Styles dashboard uniquement visibles si authentifié */
.dashboard .dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 60px);
    margin-top: 60px;
}

.dashboard .sidebar {
    width: 250px;
    min-width: 250px;
    background: #0f172a;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: calc(100vh - 60px);
    position: fixed;
    top: 60px;
    left: 0;
}

.dashboard .main-content {
    flex: 1;
    padding: 2rem;
    margin-left: 250px;
}

.dashboard .nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s;
    gap: 0.75rem;
}

.dashboard .nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dashboard .nav-item.active {
    background: var(--primary-color);
    color: white;
}

/* Responsive pour le dashboard */
@media (max-width: 768px) {
    .dashboard .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .dashboard .sidebar.active {
        transform: translateX(0);
    }

    .dashboard .main-content {
        margin-left: 0;
    }
}

/* Style uniquement pour le conteneur du formulaire beta */
#beta_signup_form {
    background: rgba(17, 24, 39, 0.3);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Grille de formulaire */
#beta_form_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
/* Style uniforme pour les labels */
#beta_form_grid label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    opacity: 0.9;
}
/* Groupes de formulaire spécifiques */
#beta_form_grid .beta_form_group {
    position: relative;
}

#beta_form_grid .beta_form_group.full_width {
    grid-column: 1 / -1;
}

.beta_form_group {
    margin-bottom: 24px;
}

/* Style des inputs */
#beta_form_grid input,
#beta_form_grid select,
#beta_form_grid textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1rem;
    margin-top: 8px;
}

/* Section de consentement */
#beta_tech_stack {
    min-height: 200px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
#beta_tech_stack option {
    padding: 8px 12px;
    background: #0a192f;
    color: var(--text-color);
}
/* Style du conteneur de consentement */
#beta_consent_container {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin: 24px 0;
}

#beta_consent_container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
}


/* Bouton de soumission */
#beta_submit_button {
    background: var(--primary-color);
    color: white;
    padding: 12px 32px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

#beta_submit_button:hover {
    transform: translateY(-2px);
}
#beta_consent_container label {
    margin: 0;
    line-height: 1.5;
}
#beta_form_grid input:focus,
#beta_form_grid select:focus,
#beta_form_grid textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}
.hero-3d-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Pour ne pas interférer avec les éléments en dessous */
}

.network-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(79, 70, 229, 0.6);
    border-radius: 50%;
    pointer-events: none;
}

.connection {
    position: absolute;
    height: 1px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.4), transparent);
    pointer-events: none;
}

.pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #4f46e5;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.notification-icon {
    position: relative;
    cursor: pointer;
}

.notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--error-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
}

.notification-count.hidden {
    display: none;
}

.notification-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: -10px;
    width: 320px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.notification-panel.active {
    display: block;
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
    background: rgba(79, 70, 229, 0.1);
}

.notification-footer {
    padding: 15px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.view-all-notifications {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s;
}

.view-all-notifications:hover {
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-1px);
}

.view-all-notifications i {
    font-size: 14px;
    transition: transform 0.2s;
}

.view-all-notifications:hover i {
    transform: translateX(4px);
}



/* Card Containers */
.auth-container,
.reset-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.auth-card,
.reset-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Card Header */
.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 24px;
    color: #4f46e5;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Input Styles */
.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* Password Section */
.password-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.password-input-wrapper {
    position: relative;
    flex: 1;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.generate-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 8px;
    color: #4f46e5;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Password Strength */
.password-strength {
    margin-top: 1rem;
}

.strength-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.meter-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

/* Requirements */
.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 8px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.requirement.valid {
    color: #10b981;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #4f46e5;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:not(:disabled):hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background: #475569;
    cursor: not-allowed;
}


.cookie-notice {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-notice.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-content p {
    color: #e2e8f0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-content i {
    color: #4f46e5;
}

.cookie-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-btn:hover {
    background: #4338ca;
}



.flash-message {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.flash-message .alert-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.flash-message i {
    margin-top: 0.2rem;
}

.flash-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fecaca;
}

.flash-message.warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: #fef3c7;
}

.flash-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #dcfce7;
}

.resend-form {
    margin-top: 0.75rem;
}

.resend-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(234, 179, 8, 0.2);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 6px;
    color: #fef3c7;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resend-btn:hover {
    background: rgba(234, 179, 8, 0.3);
}


/* Ajoutez ceci dans base.css */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1100;
    width: 400px;
    max-width: calc(100vw - 40px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.flash-messages.with-sidebar {
    right: 20px;
    padding-left: 250px; /* Largeur du sidebar */
}

.alert {
    position: relative;
    padding: 16px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    animation: slideInRight 0.5s ease forwards;
}

.alert.removing {
    animation: slideOutRight 0.5s ease forwards;
}

.alert-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-content i {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-close {
    background: none;
    border: none;
    color: currentColor;
    padding: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.alert-success {
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.1);
    color: #dcfce7;
}

.alert-error {
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.1);
    color: #fecaca;
}

.alert-warning {
    border-color: rgba(234, 179, 8, 0.2);
    background: rgba(234, 179, 8, 0.1);
    color: #fef3c7;
}

.alert-info {
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.1);
    color: #bfdbfe;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .flash-messages.with-sidebar {
        padding-left: 0;
    }
}