/**
 * SD SEO Title & Description – Admin Settings Styles
 *
 * @package SD_SEO_Title_Description
 */

.sdstd-settings-wrap {
    max-width: 900px;
}

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

.sdstd-plugin-info {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.sdstd-version-badge {
    display: inline-block;
    background: #2271b1;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    font-style: normal;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.3px;
}

/* Toggle Switch */
.sdstd-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    vertical-align: middle;
}

.sdstd-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sdstd-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.sdstd-toggle-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 50%;
}

.sdstd-toggle input:checked + .sdstd-toggle-slider {
    background-color: #2271b1;
}

.sdstd-toggle input:checked + .sdstd-toggle-slider::before {
    transform: translateX(24px);
}

.sdstd-toggle input:focus + .sdstd-toggle-slider {
    box-shadow: 0 0 0 2px #2271b1;
}

/* Settings sections */
.sdstd-settings-wrap .form-table th {
    width: 220px;
    padding-top: 18px;
}

.sdstd-settings-wrap .form-table td {
    padding-top: 14px;
}

.sdstd-settings-wrap h2 {
    border-bottom: 1px solid #c3c4c7;
    padding-bottom: 12px;
    margin-top: 30px;
}

/* Debugger links in settings */
.sdstd-debugger-links {
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
    border-radius: 6px;
    padding: 14px 18px;
    margin-top: 8px;
}

.sdstd-debugger-links p {
    margin: 0 0 8px 0;
}

.sdstd-debugger-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sdstd-debugger-links li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 13px;
}

.sdstd-debugger-links li:last-child {
    margin-bottom: 0;
}

.sdstd-debugger-links .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.sdstd-debugger-links a {
    text-decoration: none;
    font-weight: 500;
}

.sdstd-debugger-links a:hover {
    text-decoration: underline;
}

/* Separator buttons */
.sdstd-separator-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.sdstd-separator-btn {
    min-width: 44px;
    height: 38px;
    font-size: 18px;
    line-height: 1;
    border: 2px solid #8c8f94;
    border-radius: 4px;
    background: #fff;
    color: #1d2327;
    cursor: pointer;
    padding: 0 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.sdstd-separator-btn:hover {
    border-color: #2271b1;
}

.sdstd-separator-btn.sdstd-separator-active {
    border-color: #00a32a;
    box-shadow: 0 0 0 1px #00a32a;
    background: #f0faf0;
    font-weight: 700;
}
