/* Modal personalizado */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.custom-modal.show {
    opacity: 1;
    visibility: visible;
}

.custom-modal-content {
    width: 85%;
    max-width: 400px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.custom-modal.show .custom-modal-content {}

.custom-modal-header {
    padding: 20px;
    text-align: center;
    background: #7da4f7;
    color: white;
}

.custom-modal-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.custom-modal-body {
    padding: 25px 20px;
    text-align: center;
}

.custom-modal-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.custom-modal-text {
    font-size: 16px;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.5;
}


.custom-modal-button {
    display: inline-block;
    padding: 12px 15px;
    border-radius: 25px;
    background-color: #7da4f7;
    color: white;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-modal-button:hover {
    background-color: #5a89f0;
}

.error-icon {
    color: #ff5252;
}

.custom-modal-error .custom-modal-header {
    background-color: #ff5252;
}

.custom-modal-error .custom-modal-button {
    background-color: #ff5252;
}

.custom-modal-error .custom-modal-button:hover {
    background-color: #e53935;
}


.custom-modal-causes {
    text-align: left;
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}

.custom-modal-causes ul {
    margin-top: 5px;
    padding-left: 20px;
}

.custom-modal-causes li {
    margin-bottom: 5px;
    color: #555;
}

.custom-modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
}

.retry-button {
    background-color: #4caf50;
    margin-right: 8px;
    flex: 1;
}

.retry-button:hover {
    background-color: #43a047;
}

.reconfig-button {
    background-color: #7da4f7;
    margin-left: 8px;
    flex: 1;
}