/* Custom Dialogs CSS */
.custom-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-out;
}

.custom-dialog-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-dialog {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(20px) scale(0.95);
    transition: all 0.2s ease-out;
}

.custom-dialog-overlay.show .custom-dialog {
    transform: translateY(0) scale(1);
}

.custom-dialog-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.custom-dialog-message {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #4B5563;
    margin-bottom: 20px;
    line-height: 1.5;
}

.custom-dialog-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
    outline: none;
    transition: border-color 0.2s;
}

.custom-dialog-input:focus {
    border-color: #27C96D;
    box-shadow: 0 0 0 3px rgba(39, 201, 109, 0.1);
}

.custom-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.custom-dialog-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.custom-dialog-btn-cancel {
    background: #F3F4F6;
    color: #374151;
}

.custom-dialog-btn-cancel:hover {
    background: #E5E7EB;
}

.custom-dialog-btn-confirm {
    background: #27C96D;
    color: white;
}

.custom-dialog-btn-confirm:hover {
    background: #1A8D4D;
}

@media (max-width: 768px) {
    .custom-dialog {
        width: min(90vw, 420px);
        padding: 20px;
    }

    .custom-dialog-title {
        font-size: 16px;
    }

    .custom-dialog-actions {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .custom-dialog-btn {
        padding: 8px 14px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
}
