/* Bidspirit Style Settings Admin Page */
.bs-style-settings {
    max-width: 1200px;
}

.bs-style-settings h1 {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.bs-style-header-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.bs-style-wrap {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    min-height: 600px;
}

.bs-style-tabs {
    display: flex;
    flex-direction: column;
    min-width: 220px;
    background: #f6f7f7;
    border-right: 1px solid #c3c4c7;
    padding: 0;
}

.bs-style-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    text-decoration: none;
    color: #50575e;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid #dcdcde;
    transition: all 0.15s ease;
}

.bs-style-tab:hover {
    background: #fff;
    color: #2271b1;
}

.bs-style-tab.active {
    background: #fff;
    color: #1d2327;
    font-weight: 600;
    border-right: 2px solid #2271b1;
    margin-right: -1px;
}

.bs-style-tab .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.bs-style-tab.active .dashicons {
    opacity: 1;
    color: #2271b1;
}

.bs-style-content {
    flex: 1;
    padding: 0;
    overflow: hidden;
}

.bs-style-panel {
    display: none;
    padding: 20px 24px;
}

.bs-style-panel.active {
    display: block;
}

.bs-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dcdcde;
}

.bs-panel-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
}

.bs-style-table {
    margin-top: 0;
}

.bs-style-table th {
    width: 200px;
    padding: 12px 10px 12px 0;
    vertical-align: top;
    font-weight: 500;
}

.bs-style-table td {
    padding: 8px 10px;
    vertical-align: top;
}

.bs-style-table tr {
    border-bottom: 1px solid #f0f0f1;
}

.bs-style-table tr:last-child {
    border-bottom: none;
}

.bs-font-select {
    min-width: 200px;
    margin-bottom: 6px;
}

.bs-font-preview {
    display: block;
    margin-top: 6px;
    padding: 8px 12px;
    background: #f9f9f9;
    border: 1px solid #dcdcde;
    border-radius: 3px;
    font-size: 14px;
    color: #50575e;
    max-width: 400px;
}

.bs-shadow-preview {
    display: inline-block;
    margin-left: 12px;
    vertical-align: middle;
}

.bs-shadow-preview-box {
    width: 60px;
    height: 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    transition: box-shadow 0.3s ease;
}

.bs-alpha-color-wrap .description {
    margin-top: 4px;
}

.bs-style-footer {
    padding: 20px 24px;
    border-top: 1px solid #c3c4c7;
    background: #f6f7f7;
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    bottom: 0;
}

.bs-save-status {
    font-size: 13px;
    color: #00a32a;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bs-save-status.visible {
    opacity: 1;
}

.bs-save-status.error {
    color: #d63638;
}

.bs-style-table .wp-picker-container {
    display: inline-block;
}

.bs-style-table .wp-picker-container .wp-color-result {
    margin: 0;
}

.bs-reset-section {
    color: #d63638 !important;
    text-decoration: none !important;
}

.bs-reset-section:hover {
    color: #a00 !important;
}

.bs-style-table td .bs-shadow-select {
    vertical-align: middle;
}

@media screen and (max-width: 782px) {
    .bs-style-wrap {
        flex-direction: column;
    }

    .bs-style-tabs {
        flex-direction: row;
        overflow-x: auto;
        min-width: auto;
        border-right: none;
        border-bottom: 1px solid #c3c4c7;
    }

    .bs-style-tab {
        white-space: nowrap;
        border-bottom: none;
        border-right: 1px solid #dcdcde;
    }

    .bs-style-tab.active {
        border-right: 1px solid #dcdcde;
        border-bottom: 2px solid #2271b1;
        margin-right: 0;
        margin-bottom: -1px;
    }

    .bs-style-tab .tab-label {
        display: none;
    }

    .bs-style-table th {
        width: auto;
    }
}
