/* WooCommerce Settings - Schema Star */
.star-wc-settings {
    background: linear-gradient(160deg, #0f0f0f 0%, #1a1a1a 35%, #252525 100%);
    min-height: 100vh;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.star-wc-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px 36px 36px;
    margin-bottom: 30px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}
.star-wc-header::before {
    content: '⭐';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 200px;
    opacity: 0.06;
    color: #1a1a1a;
    transform: rotate(-15deg);
    pointer-events: none;
}
.star-wc-header h1 {
    margin: 0 0 0 0;
    font-size: 3em;
    font-weight: 800;
    color: #0f0f0f;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
    border-bottom: 4px double #1a1a1a;
    margin-bottom: 18px;
}
.star-wc-header p.star-wc-subtitle {
    margin: 0 0 16px 0;
    font-size: 1.15em;
    color: #555;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
.star-wc-header-marketing {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.06) 0%, rgba(26, 26, 26, 0.04) 100%);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 20px;
    border-left: 4px solid #1a1a1a;
    position: relative;
    z-index: 1;
}
.star-wc-header-marketing p {
    margin: 0 0 8px 0 !important;
    font-size: 0.95em !important;
    color: #333 !important;
    line-height: 1.5 !important;
}
.star-wc-header-marketing p:last-child { margin-bottom: 0 !important; }
.star-wc-header-marketing .star-wc-marketing-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 3px 12px rgba(34, 197, 94, 0.35);
}
.star-wc-header-marketing .star-wc-marketing-cta:hover { color: #fff !important; }
.star-wc-tabs {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0;
    margin-bottom: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.star-wc-tab-nav {
    display: flex;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
}
.star-wc-tab-link {
    flex: 1;
    padding: 20px 30px;
    text-align: center;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 1.1em;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.star-wc-tab-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}
.star-wc-tab-link.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
    background: rgba(255, 255, 255, 0.98);
}
.star-wc-tab-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    min-height: 400px;
}
.star-wc-tab-pane { display: none; }
.star-wc-tab-pane.active { display: block; }
.star-wc-section { margin-bottom: 30px; }
.star-wc-section h2 {
    color: #333;
    font-size: 1.8em;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
}
.star-wc-section h2 .dashicons { color: #1a1a1a; font-size: 1.2em; }
.star-wc-setting-item {
    background: rgba(0, 0, 0, 0.04);
    padding: 20px;
    margin: 15px 0;
    border-radius: 12px;
    border-left: 4px solid #333;
}
.star-wc-setting-item:hover { background: rgba(0, 0, 0, 0.06); }
.star-wc-setting-item label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1em;
}
.star-wc-setting-item p.description { color: #666; margin: 10px 0 0 0; font-size: 0.95em; }
.star-wc-toggle-switch {
    position: relative;
    width: 70px;
    height: 36px;
    background: #e0e0e0;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid #dc2626;
    outline: none;
    display: inline-block;
}
.star-wc-toggle-switch.active {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid #dc2626;
}
.star-wc-toggle-switch .toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.star-wc-toggle-switch.active .toggle-slider { left: 38px; }
.star-wc-toggle-switch .toggle-slider .dashicons { font-size: 16px; color: #1a1a1a; display: none; }
.star-wc-toggle-switch.active .toggle-slider .dashicons { display: block; }
.button-toggle-wrap { position: relative; display: inline-block; }
.button-toggle-wrap input[type="checkbox"] { display: none; }
.button-toggle {
    position: relative;
    width: 70px;
    height: 36px;
    background: #e0e0e0;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid #dc2626;
    outline: none;
}
.button-toggle .handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.button-toggle-wrap input[type="checkbox"]:checked + .button-toggle {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid #dc2626;
}
.button-toggle-wrap input[type="checkbox"]:checked + .button-toggle .handle { transform: translateX(34px); }
.button-toggle .bars { display: none; }
.star-wc-submit-button,
.star-wc-settings .button-primary,
.star-wc-settings input[type="submit"].button-primary,
.star-wc-settings .button.button-primary {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(153, 27, 27, 0.3) !important;
    margin-top: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
}
.star-wc-submit-button:hover,
.star-wc-settings .button-primary:hover,
.star-wc-settings input[type="submit"].button-primary:hover,
.star-wc-settings .button.button-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(153, 27, 27, 0.4) !important;
    color: white !important;
}
.star-wc-submit-button .dashicons,
.star-wc-settings .button-primary .dashicons { font-size: 16px !important; width: 16px !important; height: 16px !important; }
.star-wc-settings .button:not(.button-primary) {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    color: white !important;
    border: none !important;
    padding: 10px 25px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3) !important;
}
.star-wc-settings .button:not(.button-primary):hover {
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.35) !important;
    color: white !important;
}
@media (max-width: 768px) {
    .star-wc-settings { padding: 10px; }
    .star-wc-tab-nav { flex-direction: column; }
    .star-wc-tab-link { border-bottom: 1px solid rgba(0, 0, 0, 0.08); border-right: none; }
    .star-wc-header h1 { font-size: 2.2em; padding-bottom: 16px; margin-bottom: 14px; }
    .star-wc-header-marketing { padding: 12px 16px; margin-bottom: 16px; }
    .star-wc-header-marketing p { font-size: 0.9em !important; }
}
.star-wc-toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}
