.gican-dashboard-container {
    font-family: Arial, sans-serif;
    margin: 30px;
    margin-top: 0;
}

.gican-section {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 25px;
    padding: 25px;
    background: #fff;
}

.brick-dashboard {
    position: relative;
}

.spe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 41 75 / 90%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.spe-open-capacity {
    cursor: pointer;
}

.spe-edit-post-btn,
.spe-open-capacity {
    background-color: white;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    color: #00294B;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.spe-overlay.disable-capacity {
    opacity: 1;
    pointer-events: auto;
    background-color: rgb(201 214 224 / 71%);
}

/* Affiche l'overlay lors du hover ou du focus dans la section */
.brick-dashboard:hover .spe-overlay,
.brick-dashboard:hover .spe-overlay.disable-capacity,
.brick-dashboard:focus-within .spe-overlay,
.brick-dashboard:focus-within .spe-overlay.disable-capacity {
    opacity: 1;
    pointer-events: auto;
}

/* @changelog 2025-05-20 [EVOL] (Daniel) Ajout des styles pour les capacités en considérant leur état (2025-64859) */
.brick-dashboard:hover .spe-overlay.disable-capacity,
.brick-dashboard:focus-within .spe-overlay.disable-capacity {
    background-color: rgb(0 41 75 / 90%);
}

.spe-overlay.disable-capacity .spe-active-capacity-btn .spe-open-capacity {
    display: none;
}

.spe-plus-capacity {
    font-size: xx-large;
    cursor: pointer;
}

.brick-dashboard:hover .spe-active-capacity-btn .spe-plus-capacity,
.brick-dashboard:focus-within .spe-active-capacity-btn .spe-plus-capacity {
    display: none;
}

.brick-dashboard:hover .spe-active-capacity-btn .spe-open-capacity,
.brick-dashboard:focus-within .spe-active-capacity-btn .spe-open-capacity {
    display: block;
}

.spe-overlay.disable-capacity .spe-active-capacity-btn {
    background-color: transparent;
    box-shadow: none;
    text-decoration: none;
    border: none;
}

.gican-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.gican-intro {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 20px;
}

.gican-status {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.gican-status-badge {
    display: inline-block;
    padding: 7px 22px;
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
}

.gican-note-circle {
    display: inline-block;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #f4f4f4;
    position: relative;
    text-align: center;
    line-height: 110px;
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin-right: 15px;
    border: 5px solid #6cc24a;
}

.gican-note-circle.red {
    border-color: #e74c3c;
}

.gican-note-circle.yellow {
    border-color: #f7c325;
}

.gican-section-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
}

.gican-flex {
    display: flex;
    gap: 20px;
}

.gican-col {
    flex: 1;
}

.gican-card-block {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 15px;
    background: #fafbfc;
}

.gican-card-block .gican-note-circle {
    margin-right: 10px;
}

.gican-card-block .gican-status-badge {
    font-size: 0.95em;
    padding: 5px 15px;
}

.gican-flags {
    float: right;
}

.gican-flag {
    width: 22px;
    margin-left: 3px;
}

.pending-modal-title,
.error-modal-title {
    display: none;
}