/* Deactivation Modal Overlay */
.adminlgb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    animation: adminlgbFadeIn 0.2s ease;
}

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

/* Modal Container */
.adminlgb-modal-container {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: adminlgbSlideUp 0.3s ease;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

/* Modal Header */
.adminlgb-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
}

.adminlgb-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1d2327;
}

.adminlgb-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #646970;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.adminlgb-modal-close:hover {
    background: #f0f0f1;
    color: #1d2327;
}

/* Modal Body */
.adminlgb-modal-body {
    padding: 24px;
}

/* Reasons Grid */
.adminlgb-reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.adminlgb-reason-option {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.adminlgb-reason-option:hover {
    border-color: #2271b1;
    background: #f6f7f7;
}

.adminlgb-reason-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.adminlgb-reason-option input[type="radio"]:checked + .adminlgb-reason-icon {
    background: #2271b1;
    color: #fff;
}

.adminlgb-reason-option input[type="radio"]:checked ~ .adminlgb-reason-text {
    color: #2271b1;
    font-weight: 600;
}

.adminlgb-reason-option input[type="radio"]:checked {
    border-color: #2271b1;
    background: #f0f6fc;
}

.adminlgb-reason-option:has(input[type="radio"]:checked),
.adminlgb-reason-option.is-selected {
    border-color: #2271b1;
    background: #f0f6fc;
}

.adminlgb-reason-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f1;
    border-radius: 6px;
    margin-right: 12px;
    font-size: 18px;
    transition: all 0.2s;
}

.adminlgb-reason-text {
    font-size: 14px;
    color: #1d2327;
    font-weight: 500;
    transition: all 0.2s;
}

/* Details Section */
.adminlgb-details-section {
    margin-bottom: 20px;
}

.adminlgb-details-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    resize: none;
    transition: border-color 0.2s;
}

.adminlgb-details-section textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Contact Section */
.adminlgb-contact-section {
    background: #f9f9f9;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.adminlgb-contact-text {
    font-size: 13px;
    line-height: 1.6;
    color: #50575e;
    margin: 0 0 12px 0;
}

.adminlgb-contact-text a {
    color: #2271b1;
    text-decoration: none;
}

.adminlgb-contact-text a:hover {
    text-decoration: underline;
}

.adminlgb-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #1d2327;
    margin-bottom: 0;
}

.adminlgb-checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
    cursor: pointer;
}



/* Modal Footer */
.adminlgb-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid #e5e5e5;
    background: #f9f9f9;
}

.adminlgb-link-skip {
    color: #a7aaad;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s;
}

.adminlgb-link-skip:hover {
    color: #646970;
}

.adminlgb-btn-submit {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: #2271b1;
    color: #fff;
}

.adminlgb-btn-submit:hover:not(:disabled) {
    background: #135e96;
}

.adminlgb-btn-submit:disabled {
    background: #dcdcde;
    color: #a7aaad;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 600px) {
    .adminlgb-reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .adminlgb-modal-container {
        width: 95%;
    }
}
