/**
 * Organization Block Modal Styles
 * PMN Department Manager Plugin
 */

/* Modal Overlay */
.org-block-modal-bde428 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.org-block-modal-overlay-bde428 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Modal Content Box */
.org-block-modal-content-bde428 {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Language Switcher */
.lang-switcher-bde428 {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 8px;
}

.lang-btn-bde428 {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.lang-btn-bde428:hover {
    color: #374151;
}

.lang-btn-bde428.active {
    background: white;
    color: #3b82f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Warning Icon */
.modal-icon-bde428 {
    margin-bottom: 24px;
    color: #f59e0b;
}

.modal-icon-bde428 svg {
    width: 80px;
    height: 80px;
    stroke-width: 1.5;
}

/* Message Content */
.modal-message-bde428 h2 {
    margin: 0 0 20px 0;
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

.modal-message-bde428 p {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
}

.modal-message-bde428 p:last-child {
    margin-bottom: 0;
}

/* Action Button */
.modal-close-btn-bde428 {
    margin-top: 32px;
    padding: 14px 40px;
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.modal-close-btn-bde428:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.modal-close-btn-bde428:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .org-block-modal-content-bde428 {
        padding: 30px 25px;
        margin: 20px;
        width: calc(100% - 40px);
    }

    .lang-switcher-bde428 {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 20px;
        justify-content: center;
    }

    .modal-icon-bde428 svg {
        width: 60px;
        height: 60px;
    }

    .modal-message-bde428 h2 {
        font-size: 22px;
    }

    .modal-message-bde428 p {
        font-size: 14px;
    }

    .modal-close-btn-bde428 {
        width: 100%;
        padding: 14px 30px;
    }
}
