/* Custom Alert Styles */
.custom-alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.custom-alert-content {
    display: flex;
    align-items: center;
}

.custom-alert-icon {
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.custom-alert-text {
    flex-grow: 1;
}

.custom-alert-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background-color: transparent;
    border: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: #212134; /* Strapi neutral0 */
    text-shadow: 0 1px 0 #ffffff; /* Strapi neutral1000 */
    opacity: 0.5;
    cursor: pointer;
}

.custom-alert-close:hover {
    color: #212134; /* Strapi neutral0 */
    text-decoration: none;
    opacity: 0.75;
}

/* Alert variations */
.custom-alert-error {
    color: #ee5e52; /* Strapi danger500 */
    background-color: #ffffff; /* Strapi neutral1000 */
    border-color: #ee5e52; /* Strapi danger500 */
}

.custom-alert-success {
    color: #5cb176; /* Strapi success500 */
    background-color: #ffffff; /* Strapi neutral1000 */
    border-color: #5cb176; /* Strapi success500 */
}

.custom-alert-info {
    color: #66b7f1; /* Strapi secondary500 */
    background-color: #ffffff; /* Strapi neutral1000 */
    border-color: #66b7f1; /* Strapi secondary500 */
}

.custom-alert-warning {
    color: #f29d41; /* Strapi warning500 */
    background-color: #ffffff; /* Strapi neutral1000 */
    border-color: #f29d41; /* Strapi warning500 */
}