/**
 * Admin Styles for Min Max Step Controller
 */

/* Tab Content Styling */
.tab-content {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    border-top: none;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.nav-tab-wrapper {
    margin-bottom: 0;
    border-bottom: 1px solid #ccd0d4;
}

.nav-tab {
    position: relative;
    transition: all 0.2s ease;
}

.nav-tab:hover {
    background-color: #f0f0f1;
}

.nav-tab-active {
    background: #fff;
    border-bottom-color: #fff;
}

/* Form Table Enhancements */
.form-table th {
    padding: 20px 10px 20px 0;
    vertical-align: top;
}

.form-table td {
    padding: 15px 10px;
}

.form-table h2 {
    margin-top: 0;
    padding-top: 0;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

/* Input Field Styling */
.form-table input[type="number"],
.form-table input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

.form-table input[type="number"]:focus,
.form-table input[type="text"]:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

/* Description Text */
.form-table .description {
    color: #646970;
    font-style: italic;
    margin-top: 5px;
}

/* Bulk Action Sections */
.mmscw-bulk-action-box {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    margin-top: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mmscw-bulk-action-box h3 {
    margin-top: 0;
    color: #1d2327;
    font-size: 16px;
}

.mmscw-bulk-action-box p {
    color: #646970;
    margin-bottom: 15px;
}

/* Button Enhancements */
.button-secondary {
    background: #f6f7f7;
    border-color: #2271b1;
    color: #2271b1;
    transition: all 0.2s ease;
}

.button-secondary:hover {
    background: #2271b1;
    border-color: #135e96;
    color: #fff;
}

.button-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Spinner Styling */
.spinner.is-active {
    float: none;
    margin: 0 10px;
    visibility: visible;
}

/* Result Messages */
#mmscw-bulk-result,
#mmscw-reset-result {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: 500;
}

#mmscw-bulk-result span,
#mmscw-reset-result span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Checkbox Styling */
.form-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

.form-table label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

/* Settings Page Header */
.wrap h1 {
    margin-bottom: 20px;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
}

/* Notice Styling */
.notice.notice-info {
    border-left-color: #2271b1;
}

.notice p strong {
    color: #1d2327;
}

/* Responsive Design */
@media screen and (max-width: 782px) {
    .tab-content {
        padding: 15px;
    }
    
    .form-table th,
    .form-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .form-table th {
        padding-bottom: 5px;
    }
    
    .nav-tab {
        margin-bottom: 5px;
    }
}