/* Admin styles */
.wrap {
    margin: 10px 20px 0 2px;
}

/* Menu Icon Fix */
#adminmenu .toplevel_page_wgrs-slides .wp-menu-image img {
    width: 20px;
    height: 20px;
    padding: 7px 0;
    opacity: 1;
    background: transparent;
}

#adminmenu .toplevel_page_wgrs-slides:hover .wp-menu-image img,
#adminmenu .toplevel_page_wgrs-slides.current .wp-menu-image img {
    opacity: 1;
}

.form-table {
    margin-top: 20px;
}

.form-table th {
    width: 200px;
}

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

.form-table input[type="text"],
.form-table input[type="number"],
.form-table select,
.form-table textarea {
    width: 100%;
    max-width: 400px;
}

/* Required field indicators */
.form-table th label,
.wp-list-table th label {
    position: relative;
    color: #23282d;
}

/* Style for asterisk in label text - only for fields requiring user input */
.form-table th label[for="slider_name"],
.form-table th label[for="slides_per_page"],
.form-table th label[for="slide_effect"],
.wp-list-table th label[for="caption"],
.wp-list-table th label[for="description"],
.wp-list-table th label[for="slider"],
.wp-list-table th label[for="upload"] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.form-table th label[for="slider_name"]::after,
.form-table th label[for="slides_per_page"]::after,
.form-table th label[for="slide_effect"]::after,
.wp-list-table th label[for="caption"]::after,
.wp-list-table th label[for="description"]::after,
.wp-list-table th label[for="slider"]::after,
.wp-list-table th label[for="upload"]::after {
    content: "*";
    color: #dc3232;
    margin-left: 3px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}

/* Slider list table */
.slider-lists {
    margin-top: 20px;
}

.slider-lists th {
    font-weight: bold;
}

.slider-lists td {
    vertical-align: middle;
}

/* Button styles */
.button-secondary {
    margin-right: 5px;
}

.button-link-delete {
    color: #dc3232;
}

/* Error messages */
.list {
    color: #dc3232;
    margin: 10px 0;
    padding: 10px;
    background: #fff;
    border-left: 4px solid #dc3232;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
} 