/* Custom Confirmation Modal - Project Theme */
.custom-confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInOverlay 0.3s ease-out;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.custom-confirm-modal {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    min-width: 400px;
    max-width: 500px;
    width: 90%;
    animation: slideUpModal 0.3s ease-out;
    overflow: hidden;
}

@keyframes slideUpModal {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.custom-confirm-modal-header {
    background: linear-gradient(135deg, #1ba5ac 0%, #17a2b8 100%);
    padding: 20px 25px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
}

.custom-confirm-modal-header .modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.custom-confirm-modal-header .modal-icon {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.custom-confirm-modal-header .modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    opacity: 0.9;
}

.custom-confirm-modal-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: rotate(90deg);
}

.custom-confirm-modal-body {
    padding: 30px 25px;
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.custom-confirm-modal-body .modal-message {
    margin: 0;
    color: #555555;
    font-size: 16px;
    line-height: 1.6;
}

.custom-confirm-modal-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid #e9ecef;
}

.custom-confirm-modal-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.custom-confirm-modal-btn-cancel {
    background: #ffffff;
    color: #666666;
    border: 2px solid #dee2e6;
}

.custom-confirm-modal-btn-cancel:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-confirm-modal-btn-ok {
    background: linear-gradient(135deg, #1ba5ac 0%, #17a2b8 100%);
    color: #ffffff;
    border: 2px solid #1ba5ac;
}

.custom-confirm-modal-btn-ok:hover {
    background: linear-gradient(135deg, #17a2b8 0%, #159a9f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 165, 172, 0.4);
}

.custom-confirm-modal-btn:active {
    transform: translateY(0);
}

.custom-confirm-modal-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 165, 172, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-confirm-modal {
        min-width: 320px;
        max-width: 90%;
        margin: 20px;
    }
    
    .custom-confirm-modal-header {
        padding: 18px 20px;
        font-size: 16px;
    }
    
    .custom-confirm-modal-body {
        padding: 25px 20px;
        font-size: 15px;
    }
    
    .custom-confirm-modal-footer {
        padding: 18px 20px;
        flex-direction: column-reverse;
    }
    
    .custom-confirm-modal-btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Prevent body scroll when modal is open */
body.custom-confirm-modal-open {
    overflow: hidden !important;
}

