/**
 * Admin CSS for Events Manager Xtra
 */

.emx-restriction-info {
    margin: 15px 0;
    padding: 15px;
    background: #f0f7ff;
    border-left: 4px solid #0073aa;
    border-radius: 3px;
    font-size: 18px;
}

.emx-restriction-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.emx-restriction-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Force link color on frontend */
.emx-restriction-info a {
    color: #dc3232 !important;
    text-decoration: none !important;
}

/* Event checkboxes container */
.emx-events-checkboxes {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
}

.emx-events-checkboxes label {
    display: block;
    margin-bottom: 8px;
    padding: 5px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.emx-events-checkboxes label:hover {
    background-color: #f9f9f9;
}

.emx-event-checkbox {
    margin-right: 8px;
    vertical-align: middle;
}

/* Responsive table */
@media screen and (max-width: 782px) {
    .wp-list-table td {
        display: block;
        width: 100%;
        padding: 8px 10px;
    }
    
    .wp-list-table thead {
        display: none;
    }
    
    .wp-list-table td:before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 150px;
    }
}

