/* TopDayz.css - Nouveau thème avec des couleurs inspirées du logo */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    transition: background-image 1s ease-in-out; /* Ajoute une transition pour le fondu */
}

/* Ajoute un peu de transition pour l'effet visuel de l'image de fond */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    opacity: 0.5;
    z-index: -1; /* S'assure que l'image de fond est derrière tout le contenu */
    transition: opacity 1s ease-in-out;
}

header {
    background: linear-gradient(135deg, #3e4f66, #2a3642);
    padding: 1em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #00a99f;
}

header h1 {
    font-size: 2rem;
    color: #fff;
    margin: 0;
}

.button-group a {
    margin-left: 1em;
    padding: 0.6em 1.2em;
    background-color: #00a99f; /* Turquoise */
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.button-group a:hover {
    background-color: #007f75; /* Diminution de l'intensité du turquoise au survol */
}

.discord-button {
    background-color: #7289da;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #2e3b4e, #1a2531); /* Dégradé plus sombre */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); /* Ombre plus marquée pour un effet plus sombre */
    color: #f0f0f0; /* Texte plus clair pour contraster avec le fond sombre */
}


h1 {
    font-size: 2.5rem;
    border-bottom: 2px solid #999;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #444;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.form-section, .preview-section, .event-section {
    margin-top: 2rem;
    background: linear-gradient(135deg, #4e5d68, #2c3642); /* Dégradé plus sombre mais différent de .container */
    padding: 1.5rem;
    border-radius: 8px;
    color: #f0f0f0; /* Texte clair pour contraster avec le fond sombre */
}


label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: bold;
    color: #fff;
}

.pro-form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #2e3b4e, #1a2531);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 2rem;
}

.pro-form-group {
    margin-bottom: 1.5rem;
}

.pro-form-label {
    display: block;
    margin-bottom: 0.75rem;
    color: #00a99f;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pro-form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(45, 62, 80, 0.7);
    color: #f0f0f0;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.pro-form-input:focus {
    border-color: #00a99f;
    box-shadow: 0 0 10px rgba(0, 169, 159, 0.3);
}

.pro-form-input::placeholder {
    color: rgba(240, 240, 240, 0.5);
}

textarea.pro-form-input {
    resize: vertical;
    min-height: 120px;
}

/* Styles spécifiques pour différents types d'inputs */
.pro-form-input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='%23f0f0f0'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.pro-form-input[type="number"]::-webkit-inner-spin-button,
.pro-form-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pro-form-input[type="number"] {
    -moz-appearance: textfield;
}

/* Effet hover */
.pro-form-input:hover {
    background-color: rgba(45, 62, 80, 0.8);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .pro-form-container {
        width: 95%;
        margin: 1rem auto;
        padding: 1rem;
    }
}

/* Style spécifique pour la section Top 5 des serveurs */
.top5-section .server-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
}

.top5-section .server-info h3 {
    margin: 0 15px 0 0;
    white-space: nowrap;
}

.top5-section .server-info p {
    margin: 0 15px 0 0;
    white-space: nowrap;
}

.top5-section .server-info .form-actions {
    margin-left: auto;
    margin-top: 0;
}


.btn-primary {
    background-color: #2e7ccc; /* Bleu */
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    width: auto;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: #00a99f; /* Turquoise */
}

.btn-secondary {
    background-color: #ccc;
    color: #333;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #bbb;
}

.form-actions {
    margin-top: 1rem;
}

.container-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}


.server-card {
    background-color: #eaeaea;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}


.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.server-card img {
    width: 120px;
    height: 120px; /* Fixe la hauteur pour que toutes les images aient la même taille */
    border-radius: 5px;
    object-fit: cover; /* Ajuste l'image pour qu'elle remplisse complètement le conteneur sans déformation */
}


.server-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}


.server-card h3 {
    margin: 0 0 0.5rem;
    color: #333;
}

.server-card p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    color: #444;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    margin-left: 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.badge-new {
    background-color: #4caf50;
}

.badge-popular {
    background-color: #ff9800;
}

.badge-fav {
    background-color: #e91e63;
}

.event-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #fffbe6;
    border-left: 6px solid #ffc107;
    border-radius: 8px;
    color: #333;
}


footer {
    margin-top: 3rem;
    text-align: center;
    color: #666;
    padding: 1rem 0;
    background-color: rgba(245, 245, 245, 0.9);
    border-top: 1px solid #ccc;
}

.preview-section .server-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.preview-section .server-card img {
    width: 120px;
    height: 120px;
    border-radius: 5px;
    object-fit: cover; /* Ajuste l'image pour qu'elle remplisse complètement le conteneur sans déformation */

}

.preview-section .server-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.preview-section .server-info h3 {
    margin: 0 15px 0 0;
    white-space: nowrap;
}

.preview-section .server-info p {
    margin: 0 15px 0 0;
    white-space: nowrap;
}

.preview-section .server-info .form-actions {
    margin-left: auto;
    margin-top: 0;
}

.preview-section .server-card {
    align-items: center;
}

.tooltip {
  display: inline-block;
  margin-left: 6px;
  background-color: #607d8b;
  color: white;
  border-radius: 50%;
  padding: 0 8px;
  font-weight: bold;
  cursor: help;
  font-size: 0.8rem;
  line-height: 1.4;
}




/* CSS à ajouter à votre fichier TopDayz.css */

.video-container {
    margin: 2rem 0;
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.video-container h3 {
    margin-top: 0;
    color: #555;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.youtube-player {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.youtube-player iframe {
    display: block;
    transition: all 0.3s ease;
}

.youtube-player:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

@media screen and (max-width: 768px) {
    .youtube-player iframe {
        height: 250px;
    }
}

a.btn-primary {
    display: inline-block;
    padding: 0.6rem 1rem;
    background: #7289da;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 0.5rem;
}

/* Media Queries pour les appareils mobiles */
@media screen and (max-width: 768px) {
    /* Conteneur principal */
    .container {
        padding: 1rem;
        margin: 1rem auto;
    }
    
    /* Titres */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Ajustement des cartes de serveurs */
    .server-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    
    .server-card img {
        width: 100%;
        max-width: 200px;
        margin: 0 auto 1rem auto;
        display: block;
    }
    
    /* Ajustement des informations serveur */
    .server-info {
        width: 100%;
    }
    
    .server-info h3 {
        margin-bottom: 0.7rem;
        font-size: 1.3rem;
        white-space: normal;
    }
    
    .server-info p {
        white-space: normal;
        margin: 0.4rem 0;
    }
    
    /* Navigation et boutons */
    header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .button-group {
        margin-top: 1rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .button-group a {
        margin: 0.3rem;
    }
    
    .form-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        margin-top: 1rem;
        width: 100%;
    }
}
/* Conteneur principal du serveur avec image à gauche et informations à droite */
.custom-server-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2); /* Ombre de fond */
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

/* Conteneur pour l'image du serveur */
.custom-server-image {
    flex: 1;
    max-width: 200px;
}

/* Ajuste la taille et les bordures de l'image */
.custom-server-logo {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

/* Conteneur des informations du serveur */
.custom-server-info {
    flex: 2;
    margin-left: 2rem;
    color: #f0f0f0;
}

/* Titre du serveur */
.custom-server-info h1 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

/* Style pour les paragraphes des informations du serveur */
.custom-server-info p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #ccc;
}

/* Label des éléments d'information */
.custom-server-info p strong {
    color: #fff;
}

/* Conteneur pour la vidéo YouTube du serveur */
.custom-video-container {
    margin-top: 1rem;
}

/* Pour la section Discord du serveur */
.custom-server-info a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #7289da;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

/* Effet de survol pour le bouton Discord */
.custom-server-info a:hover {
    background-color: #607d8b;
}

/* Style pour le badge de vote */
.custom-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    margin-left: 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

/* Styles des badges spécifiques */
.custom-badge-new {
    background-color: #4caf50;
}

.custom-badge-popular {
    background-color: #ff9800;
}

.custom-badge-fav {
    background-color: #e91e63;
}

/* Style pour la section du countdown */
#countdown {
    display: none;
    margin-top: 1rem;
}

#timer {
    font-size: 1.5em;
    font-weight: bold;
}

/* Professional Server Details Layout */
.pro-server-container {
    display: flex;
    gap: 2rem;
    background-color: #2c3e50;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    margin: 2rem auto;
}

.pro-server-logo {
    width: 100%;
    height: 250px;
}

.pro-server-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pro-server-details {
    padding: 1.5rem;
    width: 100%;
}

.pro-server-details h3 {
    color: #00a99f;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.pro-server-info-card {
    background-color: rgba(45, 62, 80, 0.7);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pro-server-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.pro-server-info-card h3 {
    color: #00a99f;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pro-server-info-card p {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin: 0;
    font-weight: bold;
}

.pro-server-badges {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.pro-server-badge {
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pro-badge-new {
    background-color: #4caf50;
    color: white;
}

.pro-badge-popular {
    background-color: #ff9800;
    color: white;
}

.pro-badge-fav {
    background-color: #e91e63;
    color: white;
}

.pro-server-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 1rem;
}

.pro-btn-primary {
    background-color: #00a99f;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.pro-btn-primary:hover {
    background-color: #007f75;
}

.pro-server-description {
    grid-column: span 2;
    background-color: rgba(45, 62, 80, 0.7);
    border-radius: 8px;
    padding: 1.5rem;
}

.pro-server-description h3 {
    color: #00a99f;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pro-server-description p {
    color: #f0f0f0;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .pro-server-container {
        flex-direction: column;
        padding: 1rem;
    }

    .pro-server-logo {
        flex: 1 0 auto;
        margin-bottom: 1rem;
    }

    .pro-server-details {
        grid-template-columns: 1fr;
    }

    .pro-server-description {
        grid-column: span 1;
    }
}

.pro-video-container {
    background-color: rgba(45, 62, 80, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pro-video-header h3 {
    color: #00a99f;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(0, 169, 159, 0.3);
    padding-bottom: 0.5rem;
}

.pro-youtube-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pro-youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pro-youtube-player:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.pro-video-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.pro-video-fallback p {
    color: #f0f0f0;
    margin-bottom: 1rem;
}

.pro-btn-secondary {
    background-color: #607d8b;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.pro-btn-secondary:hover {
    background-color: #4f6875;
}


.pro-events-container {
    max-width: 1200px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #2e3b4e, #1a2531);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    color: #f0f0f0;
}

.pro-events-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pro-events-header h1 {
    color: #00a99f;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pro-events-header p {
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.pro-events-list {
    list-style-type: none;
    padding: 0;
}

.pro-events-list-item {
    background-color: rgba(45, 62, 80, 0.7);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pro-events-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.pro-events-list-item-content {
    flex-grow: 1;
    margin-right: 1rem;
}

.pro-events-list-item-content strong {
    color: #00a99f;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.pro-events-list-item-content p {
    color: #f0f0f0;
    margin: 0;
}

.pro-btn-view {
    background-color: #00a99f;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.pro-btn-view:hover {
    background-color: #007f75;
}

@media screen and (max-width: 768px) {
    .pro-events-list-item {
        flex-direction: column;
        text-align: center;
    }

    .pro-events-list-item-content {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .pro-btn-view {
        width: 100%;
    }
}
.pro-slot-range-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pro-slot-range {
    flex-grow: 1;
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(135deg, #2e3b4e, #1a2531);
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.pro-slot-range:hover {
    opacity: 1;
}

.pro-slot-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00a99f;
    cursor: pointer;
    transition: background 0.15s ease-in-out;
}

.pro-slot-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: #00a99f;
    cursor: pointer;
    transition: background 0.15s ease-in-out;
}

.pro-slot-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, #2e3b4e, #1a2531);
    border-radius: 5px;
}

.pro-slot-range::-moz-range-progress {
    height: 10px;
    background: #00a99f;
}

.pro-slot-value {
    color: #f0f0f0;
    font-weight: bold;
    min-width: 100px;
    text-align: right;
}
.pro-search-results {
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(45, 62, 80, 0.7), rgba(26, 37, 49, 0.7));
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pro-search-results h2 {
    color: #00a99f;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pro-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pro-server-card {
    background-color: rgba(45, 62, 80, 0.7);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 350px;
    margin: 1rem auto;
}

.pro-server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.pro-server-card-header {
    background-color: #00a99f;
    color: white;
    padding: 1rem;
    text-align: center;
}

.pro-server-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pro-server-card-body {
    padding: 1.5rem;
}

.pro-server-card-body p {
    color: #f0f0f0;
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-between;
}

.pro-server-card-body p strong {
    color: #00a99f;
    margin-right: 0.5rem;
}

.pro-no-results {
    text-align: center;
    color: #f0f0f0;
    padding: 2rem;
    background-color: rgba(45, 62, 80, 0.5);
    border-radius: 10px;
}
/* Dashboard Container */
.pro-dashboard-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #2e3b4e, #1a2531);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #f0f0f0;
}

/* Dashboard Header */
.pro-dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 169, 159, 0.3);
}

.pro-dashboard-header h1 {
    color: #00a99f;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.pro-dashboard-header p {
    color: #ccc;
}

/* Alert Styles */
.pro-alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
}

.pro-alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

/* Section Headers */
.pro-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pro-section-header h2 {
    color: #00a99f;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.pro-section-header p {
    color: #ccc;
}

/* Servers Grid */
.pro-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); /* Augmenté de 300px à 450px */
    gap: 1.5rem;
}

.pro-no-servers {
    grid-column: 1 / -1;
    text-align: center;
    background-color: rgba(45, 62, 80, 0.7);
    padding: 2rem;
    border-radius: 8px;
}

/* Server Card */
.pro-server-card {
    background-color: rgba(45, 62, 80, 0.7);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pro-server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.pro-server-logo img {
    width: 250px; /* Largeur fixe pour le logo */
    height: 250px; 
    object-fit: cover;
    float: center; /* Alignement à gauche */
    margin-right: 1.5rem; /* Espace entre l'image et les détails */
}

.pro-server-details {
    overflow: hidden; /* Pour s'assurer que le contenu ne dépasse pas */
    padding: 1.5rem;
}
.pro-server-details h3 {
    color: #00a99f;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.pro-server-info p {
    margin: 0.5rem 0;
    color: #f0f0f0;
    display: flex;
    justify-content: space-between;
}

.pro-server-info p strong {
    color: #00a99f;
    margin-right: 0.5rem;
}

.pro-server-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

/* Buttons */
.pro-btn {
    display: inline-block;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pro-btn-view {
    background-color: #00a99f;
    color: white;
}

.pro-btn-view:hover {
    background-color: #007f75;
}

.pro-btn-edit {
    background-color: #2e7ccc;
    color: white;
}

.pro-btn-edit:hover {
    background-color: #1c5294;
}

.pro-btn-delete {
    background-color: #dc3545;
    color: white;
}

.pro-btn-delete:hover {
    background-color: #a71d2a;
}

.pro-delete-form {
    display: inline;
}

/* Add Server Form */
.pro-add-server-section {
    margin-top: 3rem;
}

.pro-server-form {
    background-color: rgba(45, 62, 80, 0.7);
    padding: 2rem;
    border-radius: 12px;
}

.pro-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pro-form-group {
    display: flex;
    flex-direction: column;
}

.pro-form-group.full-width {
    grid-column: 1 / -1;
}

.pro-form-group label {
    margin-bottom: 0.5rem;
    color: #00a99f;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pro-form-group input,
.pro-form-group select,
.pro-form-group textarea {
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background-color: rgba(26, 37, 49, 0.5);
    color: #f0f0f0;
    transition: all 0.3s ease;
}

.pro-form-group input:focus,
.pro-form-group select:focus,
.pro-form-group textarea:focus {
    outline: none;
    border-color: #00a99f;
    box-shadow: 0 0 10px rgba(0, 169, 159, 0.3);
}

.pro-form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pro-btn-submit {
    background-color: #00a99f;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.pro-btn-submit:hover {
    background-color: #007f75;
}

.pro-btn-reset {
    background-color: #607d8b;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.pro-btn-reset:hover {
    background-color: #4f6875;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .pro-dashboard-container {
        padding: 1rem;
        margin: 1rem;
    }

    .pro-form-grid {
        grid-template-columns: 1fr;
    }

    .pro-servers-grid {
        grid-template-columns: 1fr;
    }

    .pro-dashboard-header h1 {
        font-size: 2rem;
    }

    .pro-form-actions {
        flex-direction: column;
    }

    .pro-btn-submit,
    .pro-btn-reset {
        width: 100%;
    }
}