/* Page Relevés B.M.S. */

.releves-bms-page {
    background: #f8f8f8;
}

/* Hero Section */
.releves-bms-hero {
    background: linear-gradient(135deg, #f8f8c3 0%, #fefef0 100%);
    padding: 60px 20px;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 30px;
    text-align: center;
}

.hero-intro {
    margin-bottom: 30px;
    text-align: center;
}

.hero-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.hero-ethique {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2271b1;
}

.hero-ethique p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.ethique-title {
    color: #2271b1;
    font-weight: 700;
}

/* Table Section */
.releves-bms-table-section {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.table-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.releves-bms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.releves-bms-table thead {
    background: linear-gradient(135deg, #365E8A 0%, #2a4a6e 100%);
    color: white;
}

.releves-bms-table thead th {
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.releves-bms-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s ease;
}

.releves-bms-table tbody tr:hover {
    background: #f9f9f9;
}

.releves-bms-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.releves-bms-table tbody tr:nth-child(even):hover {
    background: #f5f5f5;
}

.releves-bms-table tbody td {
    padding: 12px 10px;
    color: #333;
}

.releves-bms-table tbody td:first-child {
    font-weight: 600;
    color: #365E8A;
}

.releves-bms-table tbody td:nth-child(3),
.releves-bms-table tbody td:nth-child(5),
.releves-bms-table tbody td:nth-child(7),
.releves-bms-table tbody td:nth-child(9),
.releves-bms-table tbody td:nth-child(11) {
    text-align: right;
    font-weight: 500;
}

.releves-bms-table tbody td:last-child {
    font-weight: 700;
    color: #2271b1;
}

/* Info Section */
.releves-bms-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.releves-bms-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: #d63638;
    margin-bottom: 20px;
}

.releves-bms-info ul {
    margin-left: 20px;
    margin-bottom: 30px;
}

.releves-bms-info li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
}

.releves-bms-info a {
    color: #2271b1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.releves-bms-info a:hover {
    color: #135e96;
    text-decoration: underline;
}

.releves-bms-participate {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2271b1;
    margin-bottom: 30px;
}

.releves-bms-participate p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.releves-bms-participate p:last-child {
    margin-bottom: 0;
}

.releves-bms-logo {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.releves-bms-logo img {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 1200px) {
    .table-wrapper {
        overflow-x: auto;
    }
    
    .releves-bms-table {
        min-width: 1000px;
    }
}

@media (max-width: 782px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-intro p {
        font-size: 14px;
    }
    
    .releves-bms-info h2 {
        font-size: 20px;
    }
    
    .releves-bms-table {
        font-size: 12px;
    }
    
    .releves-bms-table thead th,
    .releves-bms-table tbody td {
        padding: 8px 6px;
    }
}

@media (max-width: 600px) {
    .releves-bms-hero {
        padding: 40px 15px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .releves-bms-info {
        padding: 30px 15px;
    }
}
