/* Custom Alert Modal Styles */
/* Modal backdrop */
#custom-alert-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: flex-start;
    justify-content: center;
    transition: opacity 0.3s ease;
    opacity: 0;
    padding-top: 20px;
}

/* Show modal */
#custom-alert-modal.show {
    display: flex;
    opacity: 1;
}

/* Content card */
.custom-alert-content {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 25px 30px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: translateY(-230px);
    transition: transform 0.4s ease;
}

/* Slide-in effect when modal shows */
#custom-alert-modal.show .custom-alert-content {
    transform: translateY(0);
}

/* Message styling */
#custom-alert-message {
    margin: 0 0 25px 0;
    color: #222;
    font-size: 16px;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Button styling */
.custom-alert-button {
    background: linear-gradient(135deg, #0088ff, #444545);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

/* Hover effect */
.custom-alert-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #43aefb, #00d8fc);
}

/* Active effect */
.custom-alert-button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive text for mobile */
@media (max-width: 480px) {
    .custom-alert-content {
        padding: 20px;
    }

    #custom-alert-message {
        font-size: 15px;
    }

    .custom-alert-button {
        width: 100%;
    }
}

/* Custom Confirm Modal Styles */
/* Modal backdrop */
#custom-confirm-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: flex-start;
    justify-content: center;
    transition: opacity 0.3s ease;
    opacity: 0;
    padding-top: 20px;
}

/* Show modal */
#custom-confirm-modal.show {
    display: flex;
    opacity: 1;
}

/* Content card */
.custom-confirm-content {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 25px 30px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: translateY(-230px);
    transition: transform 0.4s ease;
}

/* Slide-in effect when modal shows */
#custom-confirm-modal.show .custom-confirm-content {
    transform: translateY(0);
}

/* Message styling */
#custom-confirm-message {
    margin: 0 0 25px 0;
    color: #222;
    font-size: 16px;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Button container */
.custom-confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Button styling */
.custom-confirm-button {
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    flex: 1;
    max-width: 120px;
}

/* OK button */
.custom-confirm-ok {
    background: linear-gradient(135deg, #0088ff, #444545);
}

.custom-confirm-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #43aefb, #00d8fc);
}

/* Cancel button */
.custom-confirm-cancel {
    background: linear-gradient(135deg, #666, #888);
}

.custom-confirm-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #888, #aaa);
}

/* Active effect */
.custom-confirm-button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive text for mobile */
@media (max-width: 480px) {
    .custom-confirm-content {
        padding: 20px;
    }

    #custom-confirm-message {
        font-size: 15px;
    }

    .custom-confirm-buttons {
        flex-direction: column;
    }

    .custom-confirm-button {
        width: 100%;
        max-width: none;
    }
}

