/* alert-prompt-helper.css */
.ap-helper-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.ap-helper-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.ap-helper-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: ap-helper-fade-in 0.25s ease;
}

.ap-helper-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.ap-helper-message {
    margin-bottom: 20px;
}

.ap-helper-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.ap-helper-buttons {
    text-align: right;
}

.ap-helper-buttons button {
    margin-left: 10px;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.ap-helper-btn-ok {
    background: #007bff;
    color: #fff;
}

.ap-helper-btn-cancel {
    background: #ccc;
    color: #000;
}

.ap-helper-toast-container {
    position: fixed;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.ap-helper-toast {
    padding: 10px 16px;
    border-radius: 4px;
    min-width: 200px;
    max-width: 300px;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
    color: white;
}

/* Animation state */
.ap-helper-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Variants */
.ap-toast-success {
    background-color: #28a745;
}

.ap-toast-error {
    background-color: #dc3545;
}

.ap-toast-warning {
    background-color: #ffc107;
    color: #000;
}

.ap-toast-info {
    background-color: #17a2b8;
}

@keyframes ap-helper-fade-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
