/**
 * =============================================================================
 * Default Settings Page Styles
 * =============================================================================
 */
#screenglow-settings-page {
    max-width: 920px;
}

#screenglow-settings-page .screenglow-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}

#screenglow-settings-page .screenglow-settings-header > div:first-child {
    flex: 1;
    min-width: 0;
}

#screenglow-settings-page .screenglow-settings-header h1 {
    margin: 10px 0 0 0;
    padding: 0;
}

#screenglow-settings-page .screenglow-settings-header .notice {
    width: fit-content;
}

#screenglow-settings-page .screenglow-docs-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 3px;
    white-space: nowrap;
}

#screenglow-settings-page .screenglow-docs-button:hover {
    background: #f5f5f5;
    border-color: #999;
}

#screenglow-settings-page .screenglow-docs-button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

#screenglow-settings-page .screenglow-settings-section {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

#screenglow-settings-page .screenglow-settings-section h2 {
    margin-top: 0;
    padding-top: 0;
}

#screenglow-settings-page .form-table {
    margin-top: 1rem;
}

#screenglow-settings-page .form-table td {
    vertical-align: top;
}

#screenglow-settings-page .description {
    color: #666;
    margin-top: 4px;
}

#screenglow-settings-page .screenglow-setting-title {
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

#screenglow-settings-page ul {
    margin: 5px 0 5px 20px;
    list-style-type: disc;
}

#screenglow-settings-page li {
    margin: 3px 0;
    color: #666;
}






/**
 * =============================================================================
 * Switch Toggle
 * =============================================================================
 */
#screenglow-settings-page .screenglow-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

#screenglow-settings-page .screenglow-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#screenglow-settings-page .screenglow-switch input:checked + .screenglow-switch-slider {
    background-color: var(--primary-color);
}

#screenglow-settings-page .screenglow-switch input:checked + .screenglow-switch-slider:before {
    transform: translateX(16px);
}

#screenglow-settings-page .screenglow-switch input:focus + .screenglow-switch-slider {
    box-shadow: 0 0 1px var(--primary-color);
}

#screenglow-settings-page .screenglow-switch .screenglow-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e2e2;
    transition: .2s;
    border-radius: 20px;
}

#screenglow-settings-page .screenglow-switch .screenglow-switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
} 



/**
 * =============================================================================
 * Premium Upsell
 * =============================================================================
 */
#screenglow-settings-page .screenglow-premium-upsell {
    max-width: 400px;
}

#screenglow-settings-page .screenglow-premium-upsell h3 {
    color: #000;
    font-weight: 700;
    margin-bottom: 0;
}

#screenglow-settings-page .screenglow-premium-upsell p {
    color: #000;
    font-weight: 700;
    margin-top: 8px;
}

#screenglow-settings-page .screenglow-premium-upsell ul {
    list-style-type: none;
    padding-left: 0;
}

#screenglow-settings-page .screenglow-premium-upsell ul li {
    color: #000;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

#screenglow-settings-page .screenglow-premium-upsell ul li:not(:last-child):before {
    color: var(--premium-color);
    content: "\2713";
    font-weight: 700;
    left: 0;
    position: absolute;
}

#screenglow-settings-page .screenglow-premium-upsell a.screenglow-buy-now {
    background: linear-gradient(0deg, var(--premium-color), var(--premium-color-lighter));
    border-radius: 50px;
    box-sizing: border-box;
    color: #222;
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
}

#screenglow-settings-page .screenglow-premium-upsell a.screenglow-buy-now:hover {
    background: linear-gradient(0deg, var(--premium-color-lighter), var(--premium-color-lighter));
}



/**
 * =============================================================================
 */
