/* 
   File         : network.css
   Description  : Styles for scrollable tables and responsive layout
*/
.scrolled-table {
    /* Remove scrolling for motif tables */
    overflow-y: unset;
    overflow-x: unset;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.w3-half {
    float: left;
    width: 100%;
}

.w3-row-padding {
    display: flex;
    gap: 32px;
}

.w3-row-padding > .w3-half {
    padding: 0% 1%;
}

.motif-tables-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(63,113,174,0.07);
    padding: 18px 16px 8px 16px;
    margin: 24px auto 0 auto;
    max-width: 900px;
}
.motif-tables-grid {
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
    gap: 0;
    align-items: start;
}
.motif-divider {
    border-left: 1px solid #e2e8f0;
    height: 100%;
    margin: 0 12px;
}
.motif-table {
    box-shadow: none;
    border: none;
    margin-bottom: 0;
    background: transparent;
}
@media (max-width: 900px) {
    .motif-tables-card {
        padding: 8px 2px 2px 2px;
    }
    .motif-tables-grid {
        grid-template-columns: 1fr;
    }
    .motif-divider {
        display: none;
    }
}

/* Améliorations visuelles spécifiques à cette page */
body {
    background: linear-gradient(120deg, #eaf0f2 0%, #f8fafc 100%);
    min-height: 100vh;
}
.page-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(63,113,174,0.08);
    padding: 32px 24px;
    margin: 32px auto;
    max-width: 900px;
    animation: fadein 0.7s;
}
@keyframes fadein {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}
.card-header .icon {
    font-size: 32px;
    color: #3F71AE;
}
.card-header h2 {
    font-size: 26px;
    color: #2d3748;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
}
.card-body {
    padding: 0;
}
.info-box {
    background: #eaf0f2;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 15px;
    color: #2d3748;
    box-shadow: 0 2px 8px rgba(63,113,174,0.04);
}
.w3-row-padding {
    margin-top: 24px;
}
.w3-half {
    min-width: 320px;
}
.search-results.scrolled-table {
    box-shadow: 0 2px 12px rgba(63,113,174,0.07);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s;
}
.results-table th, .results-table td {
    transition: background 0.2s;
}
.results-table th:hover {
    background: #608bd2;
}
.button {
    box-shadow: 0 2px 8px rgba(63,113,174,0.08);
    font-weight: 600;
    letter-spacing: 0.5px;
}
input[type="text"] {
    border: 1px solid #bfc5c7;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 16px;
    margin: 0 10px;
    transition: border 0.2s;
}
input[type="text"]:focus {
    border: 1.5px solid #3F71AE;
    outline: none;
}
@media (max-width: 900px) {
    .page-card { padding: 16px 4px; }
    .w3-half { min-width: 220px; }
}
.motif-tables-card {
    margin-top: 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(63,113,174,0.1);
}
.motif-tables-grid {
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
    gap: 16px;
}
.motif-divider {
    border-left: 1px solid #e2e8f0;
    height: auto;
    margin: 0;
}
.motif-table {
    margin-bottom: 0;
}