/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Bannière d'avertissement GTARP */
.gtarp-warning {
    background: #8b0000;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-weight: 500;
    font-size: 13px;
    border-bottom: 1px solid #666;
    z-index: 1000;
    position: sticky;
    top: 0;
}

.gtarp-warning a {
  color: white;        /* Change la couleur du texte */
  text-decoration: underline;  /* Garde le soulignement */
}

.gtarp-warning a:hover {
  color: blue; /* couleur quand on survole */
  text-decoration: underline;
}

/* Header */
.header {
    background: #2c3e50;
    padding: 15px 0;
    border-bottom: 1px solid #34495e;
    position: relative;
}

.header-content {
    max-width: 400px;
    margin: 0 0 0 375px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 80px;
}

/* Bouton Accès Intranet */
.intranet-btn {
    background: #2c3e50;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 3px;
    border: 2px solid white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: absolute;
    right: 375px;
}

.intranet-btn:hover {
    background: white;
    color: #2c3e50;
}

/* Navigation */
.nav {
    background: #34495e;
    border-bottom: 1px solid #2c3e50;
    position: sticky;
    top: 37px;
    z-index: 999;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav li {
    position: relative;
}

.nav a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 16px 24px;
    display: block;
    transition: all 0.2s ease;
    font-weight: 400;
    font-size: 14px;
}

.nav a:hover {
    background-color: #2c3e50;
    color: #ffffff;
}

.nav a.active {
    background-color: #2c3e50;
    color: #ffffff;
    border-bottom: 2px solid #95a5a6;
}

/* Main content */
.main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.hero {
    background: white;
    border-radius: 4px;
    padding: 35px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 4px solid #34495e;
    animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.hero p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #5d6d7e;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 11px 22px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 14px;
}

.btn-primary {
    background: #34495e;
    color: white;
    border: 1px solid #2c3e50;
}

.btn-primary:hover {
    background: #2c3e50;
}

.btn-secondary {
    background: white;
    color: #34495e;
    border: 1px solid #34495e;
}

.btn-secondary:hover {
    background: #34495e;
    color: white;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    background: white;
    border-radius: 4px;
    padding: 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    animation: fadeInRight 0.6s ease-out;
    border: 1px solid #e8e8e8;
}

.card:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.card h3 {
    color: #2c3e50;
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 600;
}

.card p {
    color: #5d6d7e;
    line-height: 1.5;
    margin-bottom: 8px;
    font-size: 14px;
}

.news-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-item:hover {
    background-color: #f8f9fa;
    border-radius: 3px;
    cursor: pointer;
}

.news-date {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.news-title {
    font-weight: 600;
    color: #333;
    margin: 5px 0;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 35px 0;
    margin-top: 50px;
    border-top: 1px solid #34495e;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer h4 {
    margin-bottom: 12px;
    color: #ecf0f1;
    font-weight: 500;
    font-size: 15px;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 6px;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 13px;
}

.footer a:hover {
    color: #ecf0f1;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 25px;
    padding-top: 18px;
    text-align: center;
    color: #95a5a6;
    font-size: 13px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .main {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 30px auto;
    }

    .nav ul {
        flex-wrap: wrap;
    }

    .nav a {
        padding: 12px 15px;
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .hero {
        padding: 25px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .card {
        padding: 20px;
    }

    .gtarp-warning {
        font-size: 12px;
        padding: 6px 0;
    }

    .nav {
        top: 36px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-right: 15px;
    }

    .title {
        font-size: 22px;
    }

    .subtitle {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 24px;
    }
}

/* Styles pour la page About */
.about-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.about-section {
    margin-bottom: 60px;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.section-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.text-content h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.text-content p {
    color: #5d6d7e;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 16px;
}

.image-placeholder {
    background: #ecf0f1;
    border: 2px dashed #bdc3c7;
    border-radius: 4px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 16px;
    font-weight: 500;
}

.section-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 50px 0;
}

/* Leadership Stats */
.leadership-stats {
    display: flex;
    gap: 30px;
    margin-top: 25px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Timeline Styles */
.timeline-section h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: center;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #34495e;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 100px;
    background: #34495e;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    align-self: flex-start;
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-date {
    margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-date {
    margin-left: 40px;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #34495e;
}

.timeline-content h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    color: #5d6d7e;
    line-height: 1.5;
    font-size: 14px;
}

/* Values Section */
.values-section h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    background: white;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #34495e;
}

.value-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.value-item h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-item p {
    color: #5d6d7e;
    line-height: 1.5;
    font-size: 14px;
}

/* Responsive pour About */
@media (max-width: 768px) {
    .section-content,
    .section-content.reverse {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: 50px;
    }
    
    .timeline-date {
        position: absolute;
        left: -50px;
        width: 80px;
        margin: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        margin-left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-date {
        margin-right: 0;
    }
    
    .leadership-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles pour la page Agencies */
.agencies-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e8e8e8;
}

.page-header h1 {
    color: #2c3e50;
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-header p {
    color: #5d6d7e;
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.agency-section {
    margin-bottom: 60px;
}

/* Responsive pour Agencies */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
}

/* Styles pour la page News */
.news-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-article {
    background: white;
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e8e8e8;
    transition: all 0.2s ease;
}

.news-article:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.news-date {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 500;
}

.news-category {
    background: #34495e;
    color: white;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.news-title {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.news-summary {
    color: #5d6d7e;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* Responsive pour News */
@media (max-width: 768px) {
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    .news-summary {
        font-size: 14px;
    }
    
    .news-article {
        padding: 20px;
    }
}

/* Styles pour la page Careers */
.careers-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.criteria-section {
    background: white;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e8e8e8;
}

.criteria-section h2 {
    color: #2c3e50;
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 600;
}

.criteria-content p {
    color: #5d6d7e;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.criteria-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.criteria-list li {
    color: #5d6d7e;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.criteria-list li:before {
    content: '-';
    color: #34495e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-recruitment {
    background: white;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e8e8e8;
    border-left: 4px solid #34495e;
}

.contact-recruitment h2 {
    color: #2c3e50;
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-content p {
    color: #5d6d7e;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.application-button-container {
    text-align: center;
    margin: 30px 0;
}

.application-btn {
    background: #34495e;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #34495e;
}

.application-btn:hover {
    background: white;
    color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    margin-top: 25px;
    border-left: 3px solid #34495e;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Responsive pour Careers */
@media (max-width: 768px) {
    .criteria-section,
    .contact-recruitment {
        padding: 20px;
    }
    
    .criteria-section h2,
    .contact-recruitment h2 {
        font-size: 22px;
    }
    
    .application-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Styles pour la page Contact */
.contact-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.card-header {
    background: #34495e;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.card-icon {
    font-size: 28px;
}

.card-content {
    padding: 25px;
}

.card-content p {
    color: #5d6d7e;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contact-list li {
    color: #5d6d7e;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.contact-list li:before {
    content: '•';
    color: #34495e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.availability,
.response-time {
    color: #7f8c8d;
    font-size: 13px;
    margin-bottom: 8px;
}

.card-footer {
    padding: 0 25px 25px;
}

.contact-btn {
    background: #34495e;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-btn:hover {
    background: #2c3e50;
    transform: translateY(-1px);
}

/* Section informations générales */
.general-info {
    background: white;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e8e8e8;
    border-left: 4px solid #34495e;
}

.general-info h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-item strong {
    color: #2c3e50;
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
}

.info-item p {
    color: #5d6d7e;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* Responsive pour Contact */
@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-header {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .card-header h2 {
        font-size: 20px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .general-info {
        padding: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Styles pour la page Database */
.database-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.database-container {
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e8e8e8;
    overflow-x: auto;
}

.personnel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.personnel-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e8e8e8;
}

.personnel-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-right: 1px solid #e8e8e8;
    white-space: nowrap;
}

.personnel-table th:last-child {
    border-right: none;
}

.personnel-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.personnel-table tbody tr:hover {
    background-color: #f8f9fa;
}

.personnel-table tbody tr:last-child {
    border-bottom: none;
}

.personnel-table td {
    padding: 12px;
    color: #5d6d7e;
    border-right: 1px solid #f0f0f0;
    vertical-align: middle;
}

.personnel-table td:last-child {
    border-right: none;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #2c3e50;
}

.personnel-table td:nth-child(3) {
    color: #34495e;
    font-weight: 500;
}

/* Responsive pour Database */
@media (max-width: 768px) {
    .database-container {
        border-radius: 0;
        margin: 0 -20px;
    }
    
    .personnel-table {
        font-size: 12px;
    }
    
    .personnel-table th,
    .personnel-table td {
        padding: 8px 6px;
    }
    
    .personnel-table th {
        font-size: 12px;
    }
}

/* ========== STYLES MODALS ET FORMULAIRES ========== */

/* Modal overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal content */
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    background: #34495e;
    color: white;
    padding: 20px 30px;
    margin: 0;
    border-radius: 8px 8px 0 0;
    font-size: 22px;
    font-weight: 600;
}

/* Bouton fermeture */
.close {
    color: white;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close:hover,
.close:focus {
    color: #ecf0f1;
}

/* Formulaires */
form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #34495e;
    box-shadow: 0 0 0 3px rgba(52, 73, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Actions du formulaire */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-cancel,
.btn-submit {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel {
    background: #ecf0f1;
    color: #5d6d7e;
}

.btn-cancel:hover {
    background: #d5d8dc;
}

.btn-submit {
    background: #34495e;
    color: white;
}

.btn-submit:hover:not(:disabled) {
    background: #2c3e50;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Résultats du formulaire */
.form-result {
    padding: 30px;
    text-align: center;
}

.form-result h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.form-result p {
    color: #5d6d7e;
    line-height: 1.6;
    margin-bottom: 12px;
}

.form-result.success h3 {
    color: #27ae60;
}

.form-result.error h3 {
    color: #e74c3c;
}

.case-number {
    background: #f8f9fa;
    border: 2px solid #34495e;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    font-size: 16px;
}

.case-number strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

/* Responsive pour modals */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-content h2 {
        padding: 15px 20px;
        font-size: 18px;
    }
    
    form {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}
