/* Sticky Side Buttons CSS */
#ssb-wrap h1 {
    margin: 0 0 15px;
}

#ssb-wrap p {
    margin: 0 0 15px;
}

#ssb-wrap .notice p {
    margin: .5em 0;
}

#ssb-wrap label {
    margin: 0;
    vertical-align: top;
}

.ssb-panel {
    margin: 0 0 25px;
    border: #dfdfdf 1px solid;
    background: #ffffff;
}

.ssb-panel-header {
    padding: 0 15px;
    background: #23282D;
    line-height: 45px;
    color: #ffffff;
    font-size: 16px;
}

.ssb-panel-body {
    padding: 15px;
}

.ssb-panel-body .ssb-row:last-child {
    margin: 0;
}

.ssb-panel-footer {
    padding: 15px;
    border-top: #dfdfdf 1px solid;
    clear: both;
}

.ssb-row {
    margin: 0 0 20px;
    overflow: hidden;
}

.ssb-col {
    float: left;
    width: 160px;
}

#ssb-sortable-buttons header {
    border: #dfdfdf 1px solid;
    line-height: 40px;
    padding: 0 18px;
    background: #fafafa;
    cursor: move;
}

#ssb-sortable-buttons header i {
    float: right;
    line-height: 42px;
}

.ssb-btn-body {
    border: #dfdfdf 1px solid;
    border-top: none;
    padding: 20px 10px 8px 15px;
    width: 100%;
    box-sizing: border-box;
}

.ssb-btn-body .ssb-body-left, .ssb-btn-body .ssb-body-right {
    width: 50%;
    float: left;
    padding: 0 60px 0 0;
    box-sizing: border-box;
}

.ssb-btn-body .ssb-body-left label, .ssb-btn-body .ssb-body-right label {
    display: block;
    text-transform: capitalize;
    font-weight: 600;
    color: #000;
    margin: 0 0 8px 0 !important;
}

.ssb-btn-body .ssb-body-left input, .ssb-btn-body .ssb-body-right input {
    padding: 7px;
}

.ssb-btn-controls {
    text-align: right;
    clear: both;
}

.ssb-iconpicker-container {
    position: relative;
}

.ssb-icon-preview {
    position: absolute;
    top: 29px;
    right: 1px;
    background: #EEEEEE;
    line-height: 30px;
    width: 30px;
    text-align: center;
    display: block;
    padding: 0 0 0 3px;
}

/* Admin Accessibility Improvements */
.description {
    color: #666;
    font-style: italic;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Focus indicators for admin interface */
#ssb-wrap input:focus,
#ssb-wrap button:focus,
#ssb-wrap .button:focus {
    outline: 2px solid #0073aa;
    outline-offset: 1px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Accordion header keyboard navigation */
#ssb-sortable-buttons li header:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
    background: rgba(0, 115, 170, 0.1);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #ssb-wrap input:focus,
    #ssb-wrap button:focus,
    #ssb-wrap .button:focus,
    #ssb-sortable-buttons li header:focus {
        outline: 3px solid;
        outline-offset: 2px;
    }
}

/* Skip link for screen readers */
.ssb-skip-link {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ssb-skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    background: #0073aa;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
}