.premium-tag{
    background-color: white;
    color: black;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}
.premium-notice {
    background-color: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 8px 12px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.premium-notice a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
}

.premium-notice a:hover {
    text-decoration: underline;
}



.role-checkbox.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.role-checkbox.disabled label {
    cursor: not-allowed;
}

.role-checkbox.disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.role-checkbox:not(.disabled) {
    cursor: pointer;
}

.role-checkbox:not(.disabled) label {
    cursor: pointer;
}
                    .wp-media-buttons .insert-media {
    border: unset;
    color: unset;
    padding-left: 5px;
}
    
            .role-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.role-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;}

.users-checkbox-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    margin-top: 10px;
}

.user-checkbox {
    margin-bottom: 5px;
}

.hidden {
    display: none;
}


            @media (max-width: 768px) {
                .form-table td {
                    padding: 10px;
                    font-size: 14px;
                }

                #selected_users {
                    max-height: 250px;
                }
                .wp-core-ui .button-primary {
                    padding: 8px 16px;
                    font-size: 12px;
                }
            }
            .wrap {
                padding: 20px;
                background-color: #f9f9f9;
                border-radius: 5px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
            }

            .wp-core-ui .button-primary:focus {
                outline: 2px solid #0073aa;
                outline-offset: 2px;
            }

            #select_all_option:focus, #unselect_all_option:focus {
                outline: 2px solid #0073aa;
                outline-offset: 2px;
            }


            /* #select_all_option:hover, #unselect_all_option:hover {
                color: #005177;
            } */

            .form-table input[type="text"]:focus,
                .form-table select:focus,
                #email_subject:focus {
                    border-color: #0073aa;
                    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
                }

            .form-table td {
                padding: 10px 15px;
                margin-bottom: 10px;
            }

            .wrap {
                padding: 20px;
                background-color: #f9f9f9;
                border-radius: 5px;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            }

            .form-table {
                width: 100%;
                border-collapse: collapse;
            }

            .form-table th {
                text-align: left;
                font-size: 16px;
                padding: 10px 15px;
                color: #333;
            }

            .form-table input[type="text"],
            .form-table textarea,
            .form-table select {
                width: 100%;
                padding: 8px 12px;
                border: 1px solid #ccc;
                border-radius: 4px;
                font-size: 14px;
                background-color: #fff;
            }

            .wp-core-ui .button-primary {
                background-color: #0073aa;
                border-color: #0073aa;
                color: #fff;
                padding: 10px 20px;
                font-size: 14px;
                border-radius: 4px;
            }

            .wp-core-ui .button-primary:hover {
                background-color: #005177;
                border-color: #005177;
            }

            #select_all_option, #unselect_all_option {
                font-weight: bold;
                color: #444e54;
                cursor: pointer;
            }

            /* #select_all_option:hover {
                color: #005177;
            } */

            #select_all_option,
            #unselect_all_option {
                display: inline !important;
                padding: 10px;
            }
            .separator {
                display: inline !important;
            }

            #selected_users {
                min-height: 150px;
                height: auto;
                max-height: 300px;
                resize: none;
                font-size: 14px; 

            }

            .form-table td {
                padding: 10px 15px;
            }
            .select_bt {
                padding-bottom: 10px;
                display: flex;
                gap: 10px;
            }
            

            .email-log-container {
                position: relative;
                min-height: 200px;
            }
    
            .license-overlay {
                position: absolute;
                top: 105px;
                left: 0;
                right: 0;
                bottom: 0;
                background-color: rgba(255, 255, 255, 0.9);
                display: flex;
                justify-content: center;
                align-items: center;
                z-index: 100;
            }
    
            .license-message {
            text-align: center;
            max-width: 600px;
            padding: 20px;
            background-color: #f7f7f7;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        .premium-title {
            font-size: 32px;
            font-weight: bold;
            color: #2d3748;
            margin-bottom: 15px;
        }
        .premium-description {
            font-size: 18px;
            color: #4a5568;
            margin-bottom: 20px;
        }
    
        .license-button {
            font-size: 18px;
            padding: 10px 20px;
            background-color: #3182ce;
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
    
        .license-button:hover {
            background-color: #2b6cb0;
        }
    
        .license-overlay .license-message {
            border: 2px solid #3182ce;
        }
    
            .blur-content {
                filter: blur(4px);
                pointer-events: none;
            }
    
            #email-log-table {
                width: 100%;
                margin-top: 20px;
                border-collapse: collapse;
            }
    
            #email-log-table th, #email-log-table td {
                padding: 10px;
                border: 1px solid #ddd;
            }
    
            #email-log-table th {
                color: white;
                background-color: #2271b1;
            }
    
            .dataTables_wrapper .dataTables_length select {
                padding: 0 24px 0 8px !important;
            }
    
            input[readonly], input:disabled {
                pointer-events: none;
                background-color: #f4f4f4; /* Optional: for better visual appearance */
            }
            
                    .email-settings-container {
                display: flex;
                flex-direction: column; /* Stack each row vertically */
                gap: 20px; /* Add space between rows */
                margin-bottom: 20px;
            }
            
            .email-setting {
                display: flex;
                align-items: center; /* Align label and input vertically */
                gap: 20px; /* Add space between label and input */
            }
            
            .email-label {
                flex: 0 0 200px; /* Fixed width for labels */
                text-align: right; /* Align label text to the right */
            }
            
            .email-input {
                flex: 1; /* Input takes the remaining available space */
                padding: 5px;
                max-width: 300px; /* Optional: Restrict input width */
            }
            
            
                    /* Styles for the email trigger form */
                    .readonly-field {
                        background-color: #f0f0f1;
                    cursor: not-allowed;
                    opacity: 0.7;
            
            }
            .email-trigger-form {
                padding: 20px;
                background-color: #f9f9f9;
                border-radius: 8px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
                max-width: 500px;
                margin: 202px auto 0;}
            
            .email-trigger-form h1 {
                font-size: 24px;
                color: #333;
                margin-bottom: 20px;
                text-align: center;
            }
            
            .email-label {
                font-weight: bold;
                margin-bottom: 8px;
                color: #333;
            }
            
            .email-input {
                width: 100px;
                padding: 10px;
                font-size: 16px;
                border: 1px solid #ccc;
                border-radius: 4px;
                background-color: #fff;
                transition: border-color 0.3s ease;
            }
            
            .email-input:focus {
                border-color: #0073aa;
                outline: none;
                box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
            }
            
            .email-submit {
                background-color: #0073aa;
                border-color: #0073aa;
                color: #fff;
                padding: 10px 20px;
                font-size: 16px;
                border-radius: 4px;
                cursor: pointer;
                transition: background-color 0.3s ease;
                width: 100%;
                margin-top: 20px;
            }
            
            .email-submit:hover {
                background-color: #005177;
                border-color: #005177;
            }
            
            .email-submit:focus {
                outline: none;
            }
            .premium-notice {
                    background-color: #f0f6fc;
                    border-left: 4px solid #2271b1;
                    padding: 12px 16px;
                    margin: 20px 0;
                    font-size: 13px;
                    line-height: 1.5;
                }
                
                .premium-notice a {
                    color: #2271b1;
                    text-decoration: none;
                    font-weight: 500;
                }
                
                .premium-notice a:hover {
                    text-decoration: underline;
                }
            
            @media (max-width: 768px) {
                .email-trigger-form {
                    padding: 15px;
                }
            
                .email-input, .email-submit {
                    width: 100%;
                }
            }
            
                    .notice-success {
                        margin-top: 15px;
                        border-left-color: #46b450;
                    }
                    

                    .egssbe_bel_placeholders { 
                         margin-top: 20px; padding: 15px; border: 1px solid #ddd; background-color: #f9f9f9;
                    }