/**
 * Pryma UI Notices Styles
 * High-end, sleek design with glassmorphism effects.
 */

:root {
    --pryma-surface: #ffffff;
    --pryma-primary: #4f46e5;
    --pryma-error: #ef4444;
    --pryma-success: #10b981;
    --pryma-info: #3b82f6;
    --pryma-text: #1e293b;
    --pryma-text-muted: #64748b;
    --pryma-glass: rgba(255, 255, 255, 0.85);
    --pryma-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Toast Container */
#pryma-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pryma-toast {
    min-width: 300px;
    max-width: 450px;
    background: var(--pryma-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: var(--pryma-shadow);
    transform: translateX(40px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.pryma-toast-show {
    transform: translateX(0);
    opacity: 1;
}

.pryma-toast-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.pryma-toast-icon {
    font-size: 24px;
}

.pryma-toast-message {
    font-size: 14px;
    font-weight: 500;
    color: var(--pryma-text);
    line-height: 1.4;
}

.pryma-toast-success .pryma-toast-icon {
    color: var(--pryma-success);
}

.pryma-toast-error .pryma-toast-icon {
    color: var(--pryma-error);
}

.pryma-toast-info .pryma-toast-icon {
    color: var(--pryma-info);
}

/* Modal Overlay */
.pryma-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pryma-modal-show {
    opacity: 1;
    pointer-events: auto;
}

.pryma-modal-card {
    background: var(--pryma-surface);
    width: 90%;
    max-width: 420px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 32px;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pryma-modal-show .pryma-modal-card {
    transform: translateY(0);
}

.pryma-modal-header {
    margin-bottom: 20px;
}

.pryma-modal-icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.pryma-modal-card-error .pryma-modal-icon {
    color: var(--pryma-error);
}

.pryma-modal-card-info .pryma-modal-icon {
    color: var(--pryma-info);
}

.pryma-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--pryma-text);
}

.pryma-modal-body {
    margin-bottom: 28px;
    color: var(--pryma-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.pryma-modal-btn {
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.pryma-modal-btn-primary {
    background: var(--pryma-text);
    color: #fff;
}

.pryma-modal-btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}