.wrapper-dashboard-service {}

.wrapper-dashboard-service .header-services {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between; /* Sépare les éléments à gauche et à droite */
    width: 100%; /* Prend toute la largeur disponible */
}

.wrapper-dashboard-service .header-services .custom-select-container {
    display: inline-flex;
    align-items: center;
    font-family: Arial, sans-serif;
}

.wrapper-dashboard-service .header-services .custom-select {
    position: relative;
    display: inline-block;
}

.wrapper-dashboard-service .header-services .custom-select select {
    appearance: none;
    width: 155px;
    height: 32px;
    padding: 7px;
    padding-right: 28px;
    font-size: 12px;
    border-radius: 8px;
    background-color: #222222;
    color: #fff0f0;
    border: none;
}

.wrapper-dashboard-service .header-services .custom-select::after {
    content: '\2304';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-55%);
    pointer-events: none;
    color: #fff;
    font-size: 10px;
}

.wrapper-dashboard-service .header-services .custom-select select:focus {
    border-color: #555;
    outline: none;
}

/* Styles pour la barre de recherche */
.wrapper-dashboard-service .header-services .search-bar {
    position: relative;
    display: inline-block;
    margin-left: auto; /* Pousse la barre de recherche vers la droite */
}

.wrapper-dashboard-service .header-services .search-bar input {
    width: 220px;
    height: 32px;
    padding: 7px 30px 7px 10px;
    font-size: 12px;
    border-radius: 8px;
    background-color: #222222;
    color: #fff0f0;
    border: none;
    outline: none;
}

.wrapper-dashboard-service .header-services .search-bar input::placeholder {
    color: #c7c7c7;
    font-size: 12px;
}

.wrapper-dashboard-service .header-services .search-bar input:focus {
    border-color: #555;
}

/* Icone de recherche */
.wrapper-dashboard-service .header-services .search-bar .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #fff0f0;
}

.wrapper-dashboard-service .grid-container {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Deux colonnes égales */
    gap: 20px;
}

/* Carte avec image de fond */
.wrapper-dashboard-service .grid-container .card {
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    position: relative;
}

.wrapper-dashboard-service .grid-container .card .card-status {
    background-color: rgba(109, 196, 87, 0.46);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    height: fit-content;
}

/* Overlay flou */
.wrapper-dashboard-service .grid-container .card .color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 28, 28, 0.54);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.wrapper-dashboard-service .grid-container .card .card-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wrapper-dashboard-service .grid-container .card .card-header {
    display: flex;
    justify-content: space-between;
}

.wrapper-dashboard-service .grid-container .card .card-info {
    display: flex;
    flex-direction: column;
}

/* Style des liens de domaine */
.wrapper-dashboard-service .grid-container .card .domain-link {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}

.wrapper-dashboard-service .grid-container .card .domain-link:hover {
    text-decoration: underline;
}

.wrapper-dashboard-service .grid-container .card .card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style du bouton */
.wrapper-dashboard-service .grid-container .card .card-button {
    background-color: #1d1d1d;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    width: 95%;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.wrapper-dashboard-service .grid-container .card .card-button:hover {
    background-color: #1e1e1e;
}

.wrapper-dashboard-service .grid-container .card .wrench-icon {
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.wrapper-dashboard-service .grid-container .card .card-button:hover .wrench-icon {
    opacity: 1;
}

/* Responsive : 1 colonne si l'écran est trop petit */
@media (max-width: 900px) {
    .wrapper-dashboard-service .grid-container {
        grid-template-columns: 1fr; /* Une colonne si l'écran est plus petit */
    }
}


/* Dashboard Service Management */

.dashboard-manage-web-service-wrapper {
    margin: 1rem;
}

.dashboard-manage-web-service-wrapper .header-banner {
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 285px;
    position: relative;
}

.dashboard-manage-web-service-wrapper .header-banner .color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.443); /* Overlay sombre */
    z-index: 1;
}

.dashboard-manage-web-service-wrapper .header-banner .card-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard-manage-web-service-wrapper .header-banner .card-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    color: white;
}

.dashboard-manage-web-service-wrapper .header-banner .card-info {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.dashboard-manage-web-service-wrapper .header-banner .card-info .card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard-manage-web-service-wrapper .header-banner .card-info p {
    margin: 0;
}

.dashboard-manage-web-service-wrapper .header-banner .card-status {
    background-color: rgba(109, 196, 87, 0.46); /* Couleur verte pour "Online" */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    height: fit-content;
    color: white;
}

.dashboard-manage-web-service-wrapper .header-banner .card-footer {
    position: relative;
    z-index: 2;
    padding: 20px;
    gap: 20px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.dashboard-manage-web-service-wrapper .header-banner .card-footer .card-button {
    background-color: #4F46E5; /* Couleur similaire au bouton de l'image */
    color: white;
    padding: 10px 60px;
    border-radius: 25px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.dashboard-manage-web-service-wrapper .header-banner .card-footer .card-button2 {
    position: relative;
    background-color: #1D1D1D; /* Couleur similaire au bouton de l'image */
    color: white;
    padding: 10px 20px;
    padding-right: 90px;
    border-radius: 25px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.dashboard-manage-web-service-wrapper .header-banner .card-footer .card-button:hover {
    background-color: #4338CA; /* Couleur au survol */
}

.dashboard-manage-web-service-wrapper .header-banner .card-footer .display-ip {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 35%;
    border-radius:   0px 25px 25px 0 ;
    right: 0;
    margin-left: 10px;
    font-size: 12px;
    cursor: pointer;
    background-color: #4F46E5; /* Couleur au survol */
}

.dashboard-manage-web-service-wrapper .header-banner .card-footer .display-ip:hover {
    opacity: 1;
}

.dashboard-manage-web-service-wrapper .wrapper-service-management {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.dashboard-manage-web-service-wrapper .section-service-management {
    position: relative;
    width: 74% ;
    min-width: 950px ;
    height: auto;
    background-color: #1D1D1D;
    margin-top: 15px;
    border-radius: 15px;
    overflow: hidden;
}

.dashboard-manage-web-service-wrapper .service-nav-barre {
    margin-top: 15px;
    border-radius: 15px;
    width: 25%;
    height: auto;
    background-color: #1D1D1D;
    display: flex;
    flex-direction: column;
    padding: 7px;
    gap: 11px;
}

.dashboard-manage-web-service-wrapper .service-nav-barre .icone img {
    width: 1.5rem;    height: 1.5rem;

    margin-right: 1rem;
}

.dashboard-manage-web-service-wrapper .service-nav-barre .purple {
    background-color: #4338CA!important;
}

.dashboard-manage-web-service-wrapper .service-nav-barre .item {
    width: 100%;
    height: 44px;
    background-color: #2c2c2c;
    border-radius: 11px;
    padding: 10px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}


.section-service-management .head-service-management {
    width: 100%;
    height: 5rem;
    margin-bottom: 0.5rem;

}

.section-service-management .head-service-management .display-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0.5rem;
    border-bottom: 1px solid #A8A8A8;

}

.section-service-management .head-service-management .display-content .left-side .tittle {
    font-size: 18px;
    font-weight: 400;
    color: white;
    margin-bottom: 5px;
}

.section-service-management .head-service-management .display-content .right-side {
    display: flex;
}



.section-service-management .head-service-management .display-content .right-side .button-ctf {
    background-color: #4F46E5; /* Couleur similaire au bouton de l'image */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.section-service-management .head-service-management .display-content .right-side .button-ctf span {
    margin-right: 1rem;
}

.section-service-management .ddos-logs-management-table{
    padding: 0.5rem;
}


.section-service-management .ddos-logs-management-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    border-radius: 8px;
    background-color: #1d1d1d;

}

.section-service-management .ddos-logs-management-table table {
    width: 100%;

}

.section-service-management .ddos-logs-management-table th, 
.section-service-management .ddos-logs-management-table td {
    padding: 15px 15px;
    text-align: left;
}

.section-service-management .ddos-logs-management-table th {
    background-color: #1A1919;
    color: #fff;
    font-weight: bold;
}

.section-service-management .ddos-logs-management-table td {
    background-color: #2a2a2a;
    color: #ccc;
    border-top: 1px solid #2F2E2E;

}

.section-service-management .ddos-logs-management-table a {

}

.section-service-management .ddos-logs-management-table tr:nth-child(4n+3) td,
.section-service-management .ddos-logs-management-table tr:nth-child(4n+4) td {
    background-color: #1A1919; /* Applique la couleur #1A1919 aux deux premières lignes de chaque groupe de 4 */
}

.section-service-management .ddos-logs-management-table tr:nth-child(4n+1) td,
.section-service-management .ddos-logs-management-table tr:nth-child(4n+2) td {
    background-color: #2a2a2a; /* Applique la couleur #2a2a2a aux deux suivantes */
}





.section-service-management .ddos-logs-management-table .details-link {
    color: #5F5AF6!important;    text-decoration: underline;
    cursor: pointer;
}

.section-service-management .ddos-logs-management-table .details-row {
    display: none;
}

.section-service-management .ddos-logs-management-table th:first-child {
    border-top-left-radius: 8px;
}

.section-service-management .ddos-logs-management-table th:last-child {
    border-top-right-radius: 8px;
}


.section-service-management .ddos-logs-management-table .details-row {
    width: 100%;
    justify-content: space-between;
}

.section-service-management .ddos-logs-management-table .table-row {
    display: flex; /* Utilisation de flexbox pour diviser en colonnes */
    justify-content: space-between; /* Espace entre les deux colonnes */
    width: 100%; /* S'assure que le div occupe la largeur totale */
}

.section-service-management .ddos-logs-management-table .table-row .left,
.section-service-management .ddos-logs-management-table .table-row .right {
    width: 40%; /* Chaque div occupe 50% de la largeur */
    box-sizing: border-box; /* Inclut le padding dans la largeur totale */
}

.section-service-management .ddos-logs-management-table .table-row .left strong,
.section-service-management .ddos-logs-management-table .table-row .right strong {
    display: block; /* Chaque titre (strong) occupe une ligne entière */
    margin-bottom: 8px; /* Espace entre les titres et le contenu associé */
    margin-top: 10px;

}

.section-service-management .ddos-logs-management-table .table-row .left p,
.section-service-management .ddos-logs-management-table .table-row .right p {
    margin-bottom: 5px; /* Espace entre les paragraphes pour les séparer visuellement */
}

.section-service-management .ddos-logs-management-table .details-link {
    color: #4ea5ff;
    text-decoration: underline;
    cursor: pointer;
}

.section-service-management .ddos-logs-management-table .table-row .right a {
    display: inline-block;
    margin-top: 15px; /* Espace au-dessus du lien */
}

.section-service-management .ddos-logs-management-table .table-row .right {
    text-align: left; /* Alignement à gauche */
}

.section-service-management .ddos-logs-management-table .table-row .right .selector-container {
    margin-top: 1rem;
    display: flex;
    border-top: 1px solid #A8A8A8;

} 

.section-service-management .ddos-logs-management-table .table-row .right .selector-container .button-capia {
    padding: 5px 5px;
    margin-right: 10px;
    margin-top: 10px;   
    border: 1px solid #A8A8A8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;

}

.section-service-management .ddos-logs-management-table .details-link {
    color: #4ea5ff;
    text-decoration: underline;
    cursor: pointer;
}

/* Bouton Filtre */
.section-service-management .filter-button {
    background-color: #4ea5ff;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}

.section-service-management .filter-button:hover {
    background-color: #3b8fdd;
}


.section-service-management .bottom-pagination {
    border-top: 1px solid #A8A8A8;
    width: 100%;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.section-service-management  .bottom-pagination .content-display {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

}

.section-service-management  .bottom-pagination .content-display .purple {
    background-color: #5F5AF6!important;
}

.section-service-management  .bottom-pagination .content-display .btn-pagination {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 5px;
    border: 1px solid #A8A8A8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.section-service-management .overview-data-parameters {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.5rem;

}

.section-service-management .overview-data-parameters .head-parameters {
    display: flex;
    justify-content: space-between;
}

.section-service-management .overview-data-parameters .case-display {
    display: flex;
    margin-top: 1rem;
    width: 100%;
    justify-content: space-between;
}

.section-service-management .overview-data-parameters .case-display .case {
    width: 24%;
    height: 200px;
    padding: 0.5rem;
    border-radius: 5px;
    background-color: #1a1919;
    display: flex;
    flex-direction: column;
    position: relative;
}

.section-service-management .overview-data-parameters .case-display .case .maintext {
    font-size: 14px;
    color: white;

}

.section-service-management .overview-data-parameters .case-display .case .subtext {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-top: 14px;

}

.section-service-management .overview-data-parameters .case-display .case .subtext2 {
    font-size: 24px;
    font-weight: medium;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;

}

.section-service-management .overview-data-parameters .case-display .case .chart {
    margin-top: 2rem;
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
}

.section-service-management .manage-panel-protection {
    padding: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.section-service-management .manage-panel-protection .xs {
    flex: 1 1 29%;
}

.section-service-management .manage-panel-protection .md {
    flex: 1 1 65%;
}

.section-service-management .manage-panel-protection .xl {
    flex: 1 1 100%;
}

.section-service-management .manage-panel-protection .panel-protection {
    background-color: #2c2c2c;
    padding: 1rem;
    border-radius: 10px;
}

.section-service-management .manage-panel-protection .panel-protection .content-display {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-service-management .manage-panel-protection .panel-protection .content-display .title {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}
.section-service-management .manage-panel-protection .panel-protection .content-display .desc {
    font-size: 14px;
    color: #fff;
    font-weight: 100;
}
.section-service-management .manage-panel-protection .panel-protection .content-display .options-list {
    flex-grow: 1;
}

.section-service-management .manage-panel-protection .panel-protection .content-display .options-list .option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.section-service-management .manage-panel-protection .panel-protection .content-display .options-list .option:last-child {
    border-bottom: none;
}

.section-service-management .manage-panel-protection .panel-protection .content-display .options-list .option .text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 14px;
}

.section-service-management .manage-panel-protection .panel-protection .content-display .options-list .option .action-selector {
    font-size: 14px;
    border-radius: 5px;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}

.section-service-management .manage-panel-protection .panel-protection .content-display .threshold-item-1 {
    width: 100%;
    height: 5rem;
    padding: 0.5rem;
    margin-bottom: 2rem;
    border-radius: 5px;
    align-items: center;
    display: flex;
    justify-content: space-between;
    background-color: #1A1919;
}

.section-service-management .manage-panel-protection .panel-protection .content-display .threshold-item-1 .part-left {
    display: flex;
    align-items: center;
    gap: 10px;

}

.section-service-management .manage-panel-protection .panel-protection .content-display .threshold-item-1 .part-right {
    width: 40%;
    display: flex;
    flex-direction: column;
}

.section-service-management .manage-panel-protection .panel-protection .content-display .threshold-item-1 .part-right .progress-bar {
    margin-top: 10px;
    width: 100%;
    height: 1rem;
    border-radius: 4px;
    background-color: #60606091;
}

.section-service-management .manage-panel-protection .panel-protection .content-display .threshold-item-1 .part-right .progress-bar .progress-inner {
    width: 60%;
    height: 100%;
    background-color: #7773EF;
    border-radius:  0 10px 10px 0  ;
}
/* Conteneur du slider */
/* Conteneur du slider */
.slider-container {
    margin-top: 10px;
    width: 100%;
    position: relative;
}

/* Style du slider */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 1rem;
    background-color: #60606091;
    border-radius: 4px;
    outline: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

/* Piste du slider */
.slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 1rem;
    background: linear-gradient(to right, #7773EF 0%, #7773EF calc((var(--value) / var(--max)) * 100%), #60606091 calc((var(--value) / var(--max)) * 100%), #60606091 100%);
    border-radius: 4px;
}

.slider::-moz-range-track {
    width: 100%;
    height: 1rem;
    background-color: #60606091;
    border-radius: 4px;
}

/* Thumb du slider */
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #5F5AF6;
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #7773EF;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #fff;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* Affichage de la valeur */
.settings-progress-bar {
    margin-top: 10px;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.settings-progress-bar span {
    user-select: none;
}





.slider2 {
    -webkit-appearance: none;
    width: 100%;
    height: 1rem;
    background-color: #60606091;
    border-radius: 4px;
    outline: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

/* Piste du slider */
.slider2::-webkit-slider-runnable-track {
    width: 100%;
    height: 1rem;
    background: linear-gradient(to right, #EF7373 0%, #EF7373 calc((var(--value) / var(--max)) * 100%), #60606091 calc((var(--value) / var(--max)) * 100%), #60606091 100%);
    border-radius: 4px;
}

.slider2::-moz-range-track {
    width: 100%;
    height: 1rem;
    background-color: #60606091;
    border-radius: 4px;
}

/* Thumb du slider */
.slider2::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ea3737;
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.slider2::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ea3737;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #fff;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}


.section-service-management .manage-panel-protection .panel-protection .content-display .options-list .option .action-selector:hover {
}

.section-service-management .manage-panel-protection .panel-protection .content-display .options-list .option .action-selector:focus {
    border-color: #555;
    outline: none;
}
.section-service-management .manage-panel-protection .panel-protection .content-display .options-list .option .action-selector option {
    background-color: #2c2c2c; /* Fond sombre pour les options */
    color: #fff; /* Texte en blanc */
}

.section-service-management .manage-panel-protection .panel-protection .content-display .validate-button {
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #BABABA;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s, border-color 0.3s;
    background-color: transparent;
    margin-top: 1rem;
    align-self: flex-end;
}

.section-service-management .manage-panel-protection .panel-protection .content-display .validate-button:hover {
    border-color: #888;
}

.section-service-management .section-setting-display {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    
}

.section-service-management .section-setting-display input {
    outline: none;
}

.section-service-management .section-setting-display label {
    margin-top: 1rem;
}

/* Classe pour l'input API Key */
.section-service-management .section-setting-display .input-api-key {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Classe pour le bouton Révéler */
.section-service-management .section-setting-display .button-reveal-api {
    margin-left: 10px;
    padding: 10px 15px;
    background-color: #4F46E5;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.section-service-management .section-setting-display .validate-button {
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #BABABA;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s, border-color 0.3s;
    background-color: transparent;
    margin-top: 1rem;
    align-self: flex-end;
}

/* Classe pour le bouton Régénérer */
.section-service-management .section-setting-display .button-regenerate-api {
    margin-left: 10px;
    padding: 10px 15px;
    background-color: #ea3737;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.sslcertificate-section {
    padding: 0.5rem!important;
}

.sslcertificate-section .ssl-file-upload {
    height: 100%!important;
}

.sslcertificate-section .ssl-file-upload .file-upload .drop-zone {
    margin-top: 15px;
    height: 450px;
    background-color: #1A1919;
}

.sslcertificate-section .btn-submit {
    background-color: #4f46e5;
}

.section-sub-domain {
    padding: 0.5rem;
    width: 100%;
}

.section-sub-domain .add-subdomain-section {
    width: 100%;
}

.section-sub-domain .add-subdomain-section .add-subdomain-form {
    width: 100%;
}

.inputs-firewall-display {
    padding: 0.5rem;
}
.flex-container {
    display: flex;
    align-items: flex-end; /* Alignement en bas pour tous les éléments */
    gap: 10px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.flex-container .field,
.flex-container .value,
.flex-container .action-taken {
    display: flex;
    flex-direction: column;
    flex: 1; /* Les champs prennent toute la place disponible */
}

.flex-container label {
    color: #ccc;
    font-size: 12px;
    margin-bottom: 5px;
}

.flex-container select,
.flex-container input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #222222;
    color: #fff;
    font-size: 14px;
}

.flex-container .buttons {
    display: flex;
    gap: 10px;
    margin-left: auto; /* Pousse les boutons tout à droite */
    align-items: flex-end; /* Aligne les boutons au bas du conteneur */
}

.flex-container .buttons button {
    padding: 10px 20px;
    background-color: #4F46E5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
    text-align: center;
}

.flex-container .buttons .btn-valider:hover {
    background-color: #4338CA;
}

.flex-container .buttons .btn-supprimer {
    background-color: #ea3737;
}

.flex-container .buttons .btn-supprimer:hover {
    background-color: #d03232;
}



.firewall-rules-table {
    width: 100%; /* Prend toute la largeur du conteneur */
    margin-top: 20px;
    border-collapse: collapse;
    background-color: #1A1919;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box; /* Inclut le padding dans la largeur */
}

.firewall-rules-table table {
    width: 100%; /* Le tableau prend toute la largeur disponible */
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
    color: #fff;
}

.firewall-rules-table th, 
.firewall-rules-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #2F2E2E;
    word-wrap: break-word; /* Gère les longues chaînes de texte */
    box-sizing: border-box; /* Assure que le padding soit pris en compte */
}

.firewall-rules-table th {
    background-color: #222222;
    color: #ccc;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


.firewall-rules-table tr:nth-child(even) td {
    background-color: #1A1919;
}

.firewall-rules-table tr:hover td {
    background-color: #333333;
}
.firewall-rules-table td {
    background-color: #2a2a2a;
    color: #ccc;
    text-align: left; /* Aligne tout le texte à gauche par défaut */
}

.firewall-rules-table td:last-child {
    text-align: right; /* Aligne le dernier élément (les boutons) à droite */
}

.firewall-rules-table .btn-edit, 
.firewall-rules-table .btn-delete {
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    box-sizing: border-box; /* Assure que le padding soit pris en compte */
    display: inline-block; /* Assure que les boutons s'affichent en ligne */
}

.firewall-rules-table .btn-edit {
    background-color: #4F46E5;
    color: #fff;
    margin-right: 5px;
}

.firewall-rules-table .btn-edit:hover {
    background-color: #4338CA;
}

.firewall-rules-table .btn-delete {
    background-color: #ea3737;
    color: #fff;
}

.firewall-rules-table .btn-delete:hover {
    background-color: #d03232;
}


#checkbox {
    display: none;
  }
  
  .switch {
    margin-right: 1rem;
    position: relative;
    width: fit-content;
    padding: 10px 20px;
    background-color: rgb(46, 46, 46);
    border-radius: 50px;
    z-index: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s;
  }
  .switch svg path {
    fill: white;
  }
  #checkbox:checked + .switch {
    background-color: #5F5AF6;
}


.modal-filter {
    display: none;
    position: absolute;
    z-index: 9999999999999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.layout-content {
    background-color: #1A1919;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    min-height: 600px;
    border-radius: 10px;
    position: relative;
}

.close {
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
}

h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    
}

.form-group label {
    margin-bottom: 5px;
    color: white;
}

.form-group input, .form-group select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    outline: none;
}

button {
    cursor: pointer;
}


  /* Animation de fondu */
/* Animation de fondu en cascade */
.fade-in {
    opacity: 0.5;
    animation: fadeInCascade 0.1s ease-in-out forwards;
}

/* Animation de fondu */
@keyframes fadeInCascade {
    to {
        opacity: 1;
    }
}