/**
 * YOOAdmin - Admin bar focus toggle modal
 *
 * @package YOOAdmin
 */

.yoo-focus-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.yoo-focus-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.yoo-focus-modal-content {
    position: relative;
    max-width: 500px;
    margin: 100px auto;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.yoo-focus-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.yoo-focus-modal-close:hover {
    color: #000;
}

.yoo-focus-modal-content h2 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #1d2327;
}

.yoo-focus-modal-content p {
    margin: 0 0 20px 0;
    color: #646970;
    font-size: 14px;
}

.yoo-focus-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.yoo-focus-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 2px solid #dcdcde;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.yoo-focus-option:hover {
    border-color: var(--_yp-primary, #eda934);
    background: #fffbf5;
}

.yoo-focus-option input[type="radio"] {
    margin-top: 3px;
}

.yoo-focus-option input[type="radio"]:checked + .yoo-focus-option-content {
    color: #1d2327;
}

.yoo-focus-option-content {
    flex: 1;
}

.yoo-focus-option-content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #1d2327;
}

.yoo-focus-option-content span {
    font-size: 13px;
    color: #646970;
}

.yoo-focus-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.yoo-focus-modal-cancel,
.yoo-focus-modal-confirm {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.yoo-focus-modal-cancel {
    background: #f6f7f7;
    color: #50575e;
}

.yoo-focus-modal-cancel:hover {
    background: #dcdcde;
}

.yoo-focus-modal-confirm {
    background: var(--_yp-primary, #eda934);
    color: #fff;
}

.yoo-focus-modal-confirm:hover {
    background: color-mix(in srgb, var(--_yp-primary, #eda934) 88%, #000);
}

.yoo-focus-modal-confirm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#wp-admin-bar-yooadmin-focus-toggle .ab-icon {
    font-size: 18px !important;
    margin-top: 4px;
}

#wp-admin-bar-yooadmin-focus-toggle .ab-label {
    margin-left: 4px;
}
