:root {
    --primary-color: #1ACAC0;
    --primary-color-darker: #019AB0;
    --premium-color: #DEB64B;
    --premium-color-lighter: #E7CD78;
}

/**
 * =============================================================================
 * Reset Default Styles (eg for page editors who add custom styling to inputs)
 * =============================================================================
 */
#screenglow-modal * {
    box-sizing: border-box;
    margin: 0;
    border: 0;
    vertical-align: baseline;
    line-height: 1.2em;
}

#screenglow-modal h1,
#screenglow-modal h2,
#screenglow-modal h3,
#screenglow-modal h4,
#screenglow-modal h5,
#screenglow-modal h6 {
    font-weight: bold;
    line-height: 1.2;
}

#screenglow-modal button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: inherit;
}

#screenglow-modal input,
#screenglow-modal select,
#screenglow-modal textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    width: auto;
    height: auto;
    padding: inherit;
}

#screenglow-modal ul,
#screenglow-modal ol {
    list-style: none;
}

#screenglow-modal a {
    color: inherit;
    text-decoration: none;
}

#screenglow-modal img,
#screenglow-modal svg {
    display: block;
    height: auto;
}

/**
 * =============================================================================
 * WordPress Core integration
 * =============================================================================
 */

/* Existing WordPress integration styles... */
.media-frame.mode-grid .media-toolbar-secondary .screenglow-trigger-button,
.filter-items .screenglow-trigger-button {
    margin: 0 10px 0 6px;
    vertical-align: middle;
}

.screenglow-trigger-button .dashicons {
    margin: 4px 4px 0 -2px;
}

/**
 * =============================================================================
 * WordPress Core integration - Modal stacking
 * =============================================================================
 */

/* ScreenGlow modal */
#screenglow-modal {
    z-index: 400000;
}

/* Media modal when opened from ScreenGlow */
.media-modal.screenglow-media-select {
    z-index: 500000 !important;
}

.media-modal-backdrop.screenglow-media-select {
    z-index: 499999 !important;
}

/**
 * =============================================================================
 * Core Layout
 * =============================================================================
 */
#screenglow-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 170000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#screenglow-modal-content {
    display: flex;
    flex-direction: column;
    width: 90vw;
    height: 90vh;
    max-width: 1440px;
    max-height:1024px;
    background-color: #DBDBDB;
    border-radius: 5px;
    overflow: hidden;
    box-sizing: border-box;
    gap: 1px;
}

#screenglow-modal-header {
    flex: 0 0 auto;
    padding: 16px;
    background-color: white;
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#screenglow-modal-header h2 {
    margin: 0;
    font-size: 1.5em;
}

#screenglow-modal-header .screenglow-header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
}

#screenglow-modal-header button.screenglow-close-button {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#screenglow-main-content {
    flex: 1 1 auto;
    display: flex;
    gap: 1px;
    padding: 0;
    background-color: #DBDBDB;
    overflow: hidden;
}

#screenglow-left-sidebar {
    flex: 0 0 60px;
    background-color: #fff;
    height: 100%;
    box-sizing: border-box;
}

#screenglow-center-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#screenglow-right-sidebar {
    flex: 0 0 400px;
    background-color: #fff;
    padding: 20px 20px 0 20px;
    border: none;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
}

#screenglow-right-sidebar h3 {
    margin:0;
}

#screenglow-right-sidebar h3 .screenglow-back-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #666;
    font-size: 24px;
    margin-right: 8px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

#screenglow-right-sidebar h3 .screenglow-back-button:hover {
    color: #333;
}

#screenglow-right-sidebar .screenglow-right-sidebar-content {
    transition: opacity 0.15s ease-in-out;
    height: 100%;
}

#screenglow-right-sidebar .screenglow-sidebar-spacer {
    flex: 1 1 auto;
    min-height: 0px;
}

#screenglow-canvas-container {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-width: 100px;
    background-color: #F0F0F0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

#screenglow-canvas-container .screenglow-canvas-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

#screenglow-canvas-container .canvas-container {
    position: relative !important;
    background-image: linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
                      linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
                      linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    background-color: #F7F7F7;
    overflow: hidden;
}

#screenglow-canvas-container #screenglow-canvas {
    max-width: 100%;
    max-height: 100%;
    /* Ensure that any changes to sizing, spacing, and borders is working correctly with the upper canvas */
}

#screenglow-canvas {
    background: transparent;
}

#screenglow-canvas-container #screenglow-canvas-placeholder {
    text-align: center;
    padding: 50px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#screenglow-canvas-container #screenglow-canvas-placeholder p {
    margin-bottom: 6px;
}

#screenglow-canvas-container #screenglow-canvas-placeholder .screenglow-placeholder-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

#screenglow-canvas-container #screenglow-canvas-placeholder .screenglow-placeholder-buttons .screenglow-button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

#screenglow-canvas-container #screenglow-canvas-placeholder .screenglow-placeholder-buttons .screenglow-button:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

#screenglow-left-sidebar.disabled,
#screenglow-right-sidebar.disabled {
    pointer-events: none;
    filter: grayscale(100%);
}

#screenglow-left-sidebar.disabled *,
#screenglow-right-sidebar.disabled *:not(#screenglow-upload-controls) {
    opacity: 0.8;
}

#screenglow-canvas-info {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #FFFFFF;
    border-top: 1px solid #EBEBEB;
    box-sizing: border-box;
    gap: 10px;
    color: #666;
    font-size: 0.9em;
}

#screenglow-canvas-info .screenglow-info-separator {
    color: #ddd;
}

#screenglow-modal .screenglow-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    vertical-align: middle;
    animation: screenglow-spin 1s linear infinite;
}

@keyframes screenglow-spin {
    to {
        transform: rotate(360deg);
    }
}

#screenglow-modal button.screenglow-button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 6px 12px;
    height: auto;
    line-height: 1.4;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#screenglow-modal button.screenglow-button img {
    width: 16px;
    height: 16px;
}

#screenglow-modal button.screenglow-button:hover {
    background-color: #f3f3f3;
}

#screenglow-modal button.screenglow-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f0f0f0;
}

#screenglow-modal button.screenglow-button:disabled img {
    opacity: 0.5;
}

#screenglow-modal button.screenglow-button.screenglow-button-primary {
    background: var(--primary-color);
    border-color: var(--primary-color-darker);
    color:black;
}

#screenglow-modal button.screenglow-button.screenglow-button-primary:hover {
    background: var(--primary-color-darker);
}

/* Loading spinner */
#screenglow-modal.screenglow-loading,
#screenglow-modal.screenglow-loading * {
    cursor: wait !important;
}




/**
 * =============================================================================
 * Upload Controls
 * =============================================================================
 */

 #screenglow-modal #screenglow-upload-controls {
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 1px solid #DBDBDB;
    margin: 0 -20px;
    padding: 0 20px;
    margin-top: auto;
    transition: box-shadow 0.2s ease;
}

#screenglow-modal #screenglow-upload-controls.screenglow-has-shadow {
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

#screenglow-modal #screenglow-upload-controls label.screenglow-control-label{
    min-width: 0;
}

#screenglow-modal #screenglow-upload-controls #screenglow-upload {
    position: relative;
    background: var(--primary-color);
    border-color: var(--primary-color-darker);
    color:black;
    border-radius:4px;
    padding:10px 12px;
}

#screenglow-modal #screenglow-upload-controls #screenglow-upload:disabled,
#screenglow-modal #screenglow-upload-controls #screenglow-upload:disabled:hover{
    background: #ccc;
    border-color: #999;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

#screenglow-modal #screenglow-upload-controls #screenglow-upload:hover {
    background: var(--primary-color-darker);
}

#screenglow-modal #screenglow-upload-controls .screenglow-filename-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

#screenglow-modal #screenglow-upload-controls .screenglow-filename-wrapper:focus-within {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

#screenglow-modal #screenglow-upload-controls .screenglow-filename-wrapper input {
    border: none !important;
    box-shadow: none !important;
    min-width: 0;
    padding: 6px 8px;
}

#screenglow-modal #screenglow-upload-controls .screenglow-filename-wrapper select#screenglow-file-type {
    flex: none;
    border: 0;
    border-left: 1px solid #ddd;
    border-radius: 0;
    box-shadow: none !important;
    background: transparent;
    min-width: 0;
    text-align: center;
    padding-right: 15px;
    color: #666;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 3 3 3 3-3' stroke='%23666' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
}

#screenglow-modal #screenglow-upload-controls .screenglow-filename-wrapper select:focus {
    outline: none;
}

#screenglow-modal #screenglow-upload-controls #screenglow-replace-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#screenglow-modal #screenglow-upload-controls #screenglow-replace-image .dashicons {
    margin-top: -4px;
}



/**
 * =============================================================================
 * Premium Upsell Containers
 * =============================================================================
 */
#screenglow-modal .screenglow-premium-upsell-container{
    background-color: var(--premium-color);
    color: #000;
    padding: 16px;
    border-radius: 8px;
}

#screenglow-modal .screenglow-premium-upsell-container:has(+ div) {
    margin-bottom: 12px;
}

#screenglow-modal .screenglow-premium-upsell-container h4 {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 2px;
}

#screenglow-modal .screenglow-premium-upsell-container p {
    margin-bottom: 4px;
}

#screenglow-modal .screenglow-premium-upsell-container a {
    display: block;
    font-weight: bold;
    text-decoration: underline;
}

#screenglow-modal .screenglow-premium-upsell-container a:hover {
    font-style: italic;
}



/**
 * =============================================================================
 * Control Elements
 * =============================================================================
 */

#screenglow-modal .screenglow-toolbar-control {
    position: relative;
    padding: 24px 0;
}

#screenglow-modal .screenglow-toolbar-control + .screenglow-toolbar-control{
    border-top: 2px solid #DBDBDB;
}

#screenglow-modal .screenglow-toolbar-control .screenglow-fullwidth-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

#screenglow-modal .screenglow-toolbar-control .screenglow-label-with-icon {
    display: flex;
    align-items: center;
    gap: 6px;
}

#screenglow-modal .screenglow-toolbar-control .screenglow-label-with-icon img {
    width: 18px;
    height: 18px;
}

#screenglow-modal .screenglow-toolbar-control label {
    font-weight: bold;
    color: #292929;
    font-size: 14px;
    display: block;
    margin-bottom: 0;
}

#screenglow-modal .screenglow-toolbar-control .screenglow-form-control-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#screenglow-modal .screenglow-toolbar-control .screenglow-form-control-row:not(:last-child) { 
    margin-bottom:8px;
}

#screenglow-modal .screenglow-toolbar-control .screenglow-form-control-row label.screenglow-control-label {
    min-width: 125px;
}

/* Specific control types */
#screenglow-modal .screenglow-toolbar-control .screenglow-form-control-row input,
#screenglow-modal .screenglow-toolbar-control .screenglow-form-control-row select {
    flex: 1;
}

/* Highlight effect */
#screenglow-modal .screenglow-toolbar-control .screenglow-form-control-row .screenglow-highlight {
    animation: screenglow-highlight-text 1.2s ease-in-out;
}

@keyframes screenglow-highlight-text {
    0% { font-weight: normal; transform: scale(1); }
    10% { font-weight: bold; transform: scale(1.05); }
    25% { font-weight: bold; transform: scale(1); }
    100% { font-weight: normal; transform: scale(1); }
}



/**
 * =============================================================================
 * Tabs
 * =============================================================================
 */

#screenglow-modal .screenglow-tab-group {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
}

#screenglow-modal .screenglow-tab-button {
    flex: 1;
    padding: 8px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: all 0.2s ease;
}

#screenglow-modal .screenglow-tab-button:hover {
    color: #333;
}

#screenglow-modal .screenglow-tab-button.screenglow-active {
    color: #2271b1;
    border-bottom-color: #2271b1;
}

#screenglow-modal .screenglow-tab-content {
    position: relative;
}

#screenglow-modal .screenglow-tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#screenglow-modal .screenglow-tab-pane.screenglow-active {
    display: block;
    opacity: 1;
}



/**
 * =============================================================================
 * Inline Modal
 * =============================================================================
 */

#screenglow-modal .screenglow-inline-modal {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    transition: box-shadow 0.2s ease;
}

#screenglow-modal .screenglow-inline-modal.screenglow-active {
    display: block;
}

#screenglow-modal .screenglow-draggable-modal {
    cursor: default;
}

#screenglow-modal .screenglow-draggable-modal.screenglow-dragging {
    opacity: 0.95;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    transition: none;
    z-index: 1001; /* Ensure it's above other modals */
}

#screenglow-modal .screenglow-modal-drag-handle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 36px; /* Match height of the title bar */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    cursor: grab;
    z-index: 10;
}

#screenglow-modal .screenglow-modal-drag-handle::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    transition: background 0.2s ease;
}

#screenglow-modal .screenglow-modal-drag-handle:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

#screenglow-modal .screenglow-draggable-modal.screenglow-dragging .screenglow-modal-drag-handle {
    cursor: grabbing;
}

#screenglow-modal .screenglow-draggable-modal.screenglow-dragging .screenglow-modal-drag-handle::before {
    background: rgba(0, 0, 0, 0.15);
}

#screenglow-modal .screenglow-modal-arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    pointer-events: none;
}

#screenglow-modal .screenglow-inline-modal-title {
    padding: 12px 16px 8px 16px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e1e1e;
    border-bottom: 1px solid #eee;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: white;
}

#screenglow-modal .screenglow-inline-modal .screenglow-inline-modal-content {
    padding: 16px !important;
}



/**
 * =============================================================================
 * Presets
 * =============================================================================
 */





/**
 * =============================================================================
 * Large Link Containers
 * =============================================================================
 */

#screenglow-modal .screenglow-large-link-container {
    position:relative;
}

#screenglow-modal .screenglow-large-link-container .screenglow-large-link-container-trigger {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

#screenglow-modal .screenglow-large-link-container:not(:last-child) { 
    margin-bottom: 8px; 
}

#screenglow-modal .screenglow-large-link-container:hover{
    background-color: #f5f5f5;
}

#screenglow-modal .screenglow-large-link-container span.screenglow-title-container{
    font-weight: bold;
}

#screenglow-modal .screenglow-large-link-container .screenglow-value-container{
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

#screenglow-modal .screenglow-large-link-container .screenglow-value-container .screenglow-preview-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #DBDBDB;
}

#screenglow-modal .screenglow-large-link-container .screenglow-value-container .screenglow-preview-value {
    color: #666;
    font-size: 0.9em;
}

#screenglow-modal .screenglow-large-link-container .screenglow-chevron-right {
    margin-left: auto;
    font-size: 20px;
    color: #666;
    transition: transform 0.2s ease;
}



/**
 * =============================================================================
 * Annotation Tools
 * =============================================================================
 */

 #screenglow-modal .screenglow-delete-control {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    text-align: center;
    margin-top: 10px;
}

#screenglow-modal .screenglow-delete-annotation {
    display: inline-block;
    color: #dc3232;
    text-decoration: none;
    cursor: pointer;
}

#screenglow-modal .screenglow-delete-annotation:hover {
    color: #a00;
    text-decoration: underline;
}

#screenglow-modal #screenglow-annotation-tools {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px;
    position: relative;
}

#screenglow-modal #screenglow-annotation-tools .screenglow-annotation-tool-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#screenglow-modal #screenglow-annotation-tools .screenglow-annotation-tool {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#screenglow-modal #screenglow-annotation-tools .screenglow-annotation-tool:hover {
    background: #f0f0f0;
}

#screenglow-modal #screenglow-annotation-tools .screenglow-annotation-tool img {
    width: 20px;
    height: 20px;
}

#screenglow-modal #screenglow-annotation-tools .screenglow-annotation-tool.screenglow-active {
    background: #2271b1;
}

#screenglow-modal #screenglow-annotation-tools .screenglow-annotation-tool.screenglow-active img {
    filter: brightness(0) invert(1);
}



/**
 * =============================================================================
 * Input Designs
 * (slider, textfields, etc)
 * =============================================================================
 */

/* Modern Range Slider Styling */
#screenglow-modal input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color-darker) var(--value-percent), #e0e0e0 var(--value-percent));
    border-radius: 10px;
    margin: 10px 0;
    cursor: pointer;
}

#screenglow-modal input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cccccc;
    cursor: pointer;
}

#screenglow-modal input[type="range"]::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #cccccc;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

#screenglow-modal input[type="range"]:hover::-webkit-slider-thumb,
#screenglow-modal input[type="range"]:hover::-moz-range-thumb {
    background: #ffffff;
    border-color: var(--primary-color-darker);
}

#screenglow-modal input[type="range"] + span {
    min-width: 55px;
    text-align: right;
}

/* Other Elements Styling */
#screenglow-modal input[type="text"],
#screenglow-modal input[type="number"],
#screenglow-modal input[type="url"],
#screenglow-modal input[type="email"] {
    width: 100%;
    padding: 2px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
}

#screenglow-modal input[type="text"]:focus,
#screenglow-modal input[type="number"]:focus,
#screenglow-modal input[type="url"]:focus,
#screenglow-modal input[type="email"]:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

#screenglow-modal input[type="color"] {
    height: 25px;
}

/* Remove arrows from number input fields */
#screenglow-modal input[type="number"]::-webkit-inner-spin-button,
#screenglow-modal input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#screenglow-modal input[type="number"] {
    appearance: textfield; /* Standard property for compatibility */
    -moz-appearance: textfield; /* Firefox */
}

#screenglow-modal select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #fff;
}

#screenglow-modal select:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
}

/* Tooltips */
#screenglow-modal .screenglow-title-tooltip {
    transition: all 0.2s ease;
    position: relative;
}

#screenglow-modal .screenglow-title-tooltip[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    margin-bottom: 8px;
}



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

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

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

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

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

#screenglow-modal .screenglow-switch input:not(:checked) ~ .screenglow-theme-icon:first-of-type,
#screenglow-modal .screenglow-switch input:checked ~ .screenglow-theme-icon:last-of-type {
    opacity: 1;
}

#screenglow-modal .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-modal .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);
}



/**
 * =============================================================================
 * Element: Selectable buttons
 * =============================================================================
 */

 #screenglow-modal .screenglow-selectable-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#screenglow-modal .screenglow-selectable-button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

#screenglow-modal .screenglow-selectable-button:hover {
    background: #f5f5f5;
}

#screenglow-modal .screenglow-selectable-button.screenglow-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

#screenglow-modal .screenglow-selectable-button .screenglow-custom-inputs {
    display: none;
    gap: 4px;
}

#screenglow-modal .screenglow-selectable-button.screenglow-active .screenglow-custom-inputs {
    display: flex;
}

#screenglow-modal .screenglow-selectable-button.screenglow-active .screenglow-button-text {
    display: none;
}

#screenglow-modal .screenglow-selectable-button .screenglow-custom-inputs input {
    padding: 4px !important;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-align: center;
    font-size: 11px !important;
    min-height: 30px;
    margin: 1px;
}

#screenglow-modal .screenglow-selectable-button .screenglow-custom-inputs input:disabled {
    background-color: #f5f5f5;
    color: #666;
    font-style: italic;
    cursor: not-allowed;
}

#screenglow-modal .screenglow-selectable-button .screenglow-custom-inputs input::placeholder {
    color: #666;
    font-style: italic;
}

#screenglow-modal .screenglow-selectable-button .screenglow-custom-inputs span {
    display: flex;
    align-items: center;
    font-size: 12px;
    padding: 0 2px;
}

#screenglow-modal .screenglow-selectable-button .screenglow-custom-inputs #screenglow-proportional-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    padding: 4px 8px;
    border-radius: 3px;
}

#screenglow-modal .screenglow-selectable-button .screenglow-custom-inputs #screenglow-proportional-toggle.screenglow-active {
    opacity: 1;
}

#screenglow-modal .screenglow-selectable-button .screenglow-custom-inputs #screenglow-proportional-toggle:active {
    transform: scale(1.2);
}

#screenglow-modal .screenglow-selectable-button .screenglow-custom-inputs #screenglow-proportional-toggle.screenglow-active:active {
    transform: scale(0.8if);
}

#screenglow-modal .screenglow-selectable-button .screenglow-custom-inputs #screenglow-proportional-toggle img {
    width: 16px;
    height: 16px;
    display: block;
}

#screenglow-modal .screenglow-selectable-button.screenglow-active[data-size="custom"] {
    padding: 0 0 0 3px;
}







/**
 * ==========================================================================================================================================================
 * ==========================================================================================================================================================
 * SPECIFIC NON-GENERIC ELEMENTS ACROSS CODEBASE GO BELOW
 * ==========================================================================================================================================================
 * ==========================================================================================================================================================
 */


/**
 * =============================================================================
 * Frame selection
 * =============================================================================
 */

 #screenglow-modal #screenglow-frame #screenglow-frame-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

#screenglow-modal #screenglow-frame #screenglow-frame-controls .screenglow-frame-icon-button {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

#screenglow-modal #screenglow-frame #screenglow-frame-controls .screenglow-frame-icon-button:hover {
    background-color: #f0f0f0;
}

#screenglow-modal #screenglow-frame #screenglow-frame-controls .screenglow-frame-icon-button img {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

#screenglow-modal #screenglow-frame #screenglow-frame-controls .screenglow-frame-icon-button:hover img {
    opacity: 0.8;
}

#screenglow-modal #screenglow-frame #screenglow-frame-controls .screenglow-frame-icon-button.screenglow-active {
    background-color: #f0f0f0;
}

#screenglow-modal #screenglow-frame #screenglow-frame-controls .screenglow-frame-icon-button.screenglow-active img {
    opacity: 1;
}

#screenglow-modal #screenglow-frame #screenglow-frame-controls .screenglow-frame-theme-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 20px;
}

#screenglow-modal #screenglow-frame #screenglow-frame-controls .screenglow-theme-icon {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    display: flex;
    align-self: center;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options {
    display: flex;
    gap: 2px;
    width: 100%;
    position: relative;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 0;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-preview {
    width: 100%;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 8px;
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    box-sizing: border-box;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-preview-content {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    overflow:hidden;
    border-radius:4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-preview svg {
    width: 80%;
    height: auto;
    display: block;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-preview-image-placeholder {
    width: 100%;
    height: 30px;
    background: white;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-option[data-frame="none"] .screenglow-preview-content {
    justify-content: center;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-option:hover .screenglow-frame-preview {
    background: #f0f0f0;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-option.screenglow-active .screenglow-frame-preview {
    background: var(--primary-color);
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-option.screenglow-active:hover .screenglow-frame-preview {
    background: var(--primary-color);
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-option-ispremium .screenglow-frame-preview {
    background: var(--premium-color);
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-option-ispremium:hover,
#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-option-ispremium:hover .screenglow-frame-preview {
    cursor: not-allowed;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-option-ispremium:hover .screenglow-frame-preview {
    background: var(--premium-color);
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-frame-label {
    font-size: 12px;
    color: #333;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-more-options .screenglow-preview-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-more-options .screenglow-more-frames-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    width: 70%;
    height: 70%;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-more-options .screenglow-more-frames-grid span {
    background: #e0e0e0;
    border-radius: 4px;
    width: 100%;
    height: 100%;
    display: block;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-more-options:hover .screenglow-more-frames-grid span {
    background: #d0d0d0;
}

#screenglow-modal #screenglow-frame #screenglow-frame-options .screenglow-more-options .screenglow-frame-label {
    color: #666;
}

#screenglow-modal #screenglow-more-frames-modal .screenglow-inline-modal-content {
    max-height: 350px;
    overflow-x: auto;
}




/**
 * =============================================================================
 * Background color picking
 * =============================================================================
 */


 #screenglow-modal #screenglow-background .screenglow-color-presets {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

#screenglow-modal #screenglow-background .screenglow-color-preset {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ddd;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-sizing: border-box;
}

#screenglow-modal #screenglow-background .screenglow-color-preset:hover,
#screenglow-modal #screenglow-background .screenglow-color-preset.screenglow-active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

#screenglow-modal #screenglow-background .screenglow-color-preset[data-color="transparent"] {
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%),
        linear-gradient(-45deg, #ccc 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ccc 75%),
        linear-gradient(-45deg, transparent 75%, #ccc 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
}

#screenglow-modal #screenglow-background .screenglow-custom-solid-wrapper,
#screenglow-modal #screenglow-background .screenglow-custom-gradient-wrapper {
    background: #f5f5f5;
}

#screenglow-modal #screenglow-background .screenglow-custom-solid-wrapper input[type="color"],
#screenglow-modal #screenglow-background .screenglow-custom-gradient-wrapper input[type="color"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

#screenglow-modal #screenglow-background .screenglow-custom-color-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#screenglow-modal #screenglow-background .screenglow-custom-color-icon img {
    width: 12px;
    height: 12px;
}

#screenglow-modal #screenglow-background .screenglow-color-preset:hover .screenglow-custom-color-icon img {
    opacity: 1;
}

#screenglow-modal #screenglow-background #screenglow-custom-gradient-controls {
    margin-top: 16px;
}

#screenglow-modal #screenglow-background #screenglow-custom-gradient-controls .screenglow-form-control-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

#screenglow-modal #screenglow-background #screenglow-custom-gradient-controls input[type="color"] {
    width: 40px;
    height: 30px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#screenglow-modal #screenglow-background #screenglow-custom-gradient-controls input[type="range"] {
    flex: 1;
}

#screenglow-modal #screenglow-background #screenglow-gradient-angle-value {
    min-width: 45px;
    text-align: right;
    color: #666;
}

#screenglow-modal #screenglow-background .screenglow-gradient-preset {
    background-size: 100% 100%;
}




/**
 * =============================================================================
 * Pattern picking
 * =============================================================================
 */

#screenglow-modal #screenglow-background .screenglow-pattern-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 8px;
    margin-bottom: 16px;
    max-height: 165px;
    overflow-y: auto;
    margin-right: -16px;
    padding-right: 8px;
}

#screenglow-modal #screenglow-background .screenglow-pattern-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: none;
    height: 100%;
}

#screenglow-modal #screenglow-background .screenglow-premium-upsell-container {
    grid-column: 1/5;
}

#screenglow-modal #screenglow-background .screenglow-pattern-preview {
    width: 100%;
    max-height: 60px;
    flex: 1;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

#screenglow-modal #screenglow-background .screenglow-pattern-preview-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

#screenglow-modal #screenglow-background .screenglow-pattern-preview-content img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

#screenglow-modal #screenglow-background .screenglow-pattern-button:hover .screenglow-pattern-preview {
    background: #f0f0f0;
}

#screenglow-modal #screenglow-background .screenglow-pattern-button.screenglow-active .screenglow-pattern-preview {
    background: var(--primary-color);
}

#screenglow-modal #screenglow-background .screenglow-pattern-label {
    font-size: 12px;
    color: #333;
}

#screenglow-modal #screenglow-background .screenglow-pattern-button-ispremium .screenglow-pattern-preview {
    background: var(--premium-color);
}

#screenglow-modal #screenglow-background .screenglow-pattern-button-ispremium:hover,
#screenglow-modal #screenglow-background .screenglow-pattern-button-ispremium:hover .screenglow-pattern-preview {
    cursor: not-allowed;
}

#screenglow-modal #screenglow-background .screenglow-pattern-button-ispremium:hover .screenglow-pattern-preview {
    background: var(--premium-color);
}

#screenglow-modal #screenglow-background #screenglow-pattern-controls-wrapper {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}




/**
 * =============================================================================
 * Image cropping
 * =============================================================================
 */

#screenglow-modal #screenglow-crop-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000001;
    display: none;
    justify-content: center;
    align-items: center;
}

#screenglow-modal #screenglow-crop-modal .screenglow-crop-modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
}

#screenglow-modal .screenglow-crop-header {
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#screenglow-modal .screenglow-crop-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
}

#screenglow-modal .screenglow-crop-header .screenglow-close-button {
    padding: 0;
    border: none;
    background: none;
    color: #333;
    cursor: pointer;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

#screenglow-modal .screenglow-crop-header .screenglow-close-button:hover {
    color: #1d2327;
}






/**
 * =============================================================================
 * Artistic Filters
 * =============================================================================
 */

 /* Premium filters preview in upsell container */
#screenglow-modal .screenglow-premium-upsell-container .screenglow-premium-filters-preview {
    margin: 12px 0;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 8px;
    align-items: center;
    text-align: center;
    font-weight: bold;
}

#screenglow-modal .screenglow-premium-upsell-container .screenglow-premium-filters-preview img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 4px;
}

 



/**
 * =============================================================================
 * Replace Image Confirmation Modal
 * =============================================================================
 */

#screenglow-modal #screenglow-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 900000; /* Higher than the main modal */
}

#screenglow-modal #screenglow-confirm-modal .screenglow-confirm-modal-content {
    background-color: white;
    border-radius: 6px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#screenglow-modal #screenglow-confirm-modal .screenglow-confirm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
}

#screenglow-modal #screenglow-confirm-modal .screenglow-confirm-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

#screenglow-modal #screenglow-confirm-modal .screenglow-confirm-body {
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

#screenglow-modal #screenglow-confirm-modal .screenglow-confirm-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

#screenglow-modal #screenglow-confirm-modal .screenglow-confirm-icon .dashicons {
    color: var(--primary-color);
    font-size: 36px;
    width: 36px;
    height: 36px;
}

#screenglow-modal #screenglow-confirm-modal .screenglow-confirm-message {
    flex: 1;
}

#screenglow-modal #screenglow-confirm-modal .screenglow-confirm-message p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

#screenglow-modal #screenglow-confirm-modal .screenglow-confirm-message a {
    display: inline-block;
    margin-top:8px;
    color: var(--primary-color-darker);
    text-decoration: underline;
}

#screenglow-modal #screenglow-confirm-modal .screenglow-confirm-footer {
    padding: 16px 20px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}


/**
 * =============================================================================
 * Paste Options Modal
 * =============================================================================
 */
#screenglow-modal #screenglow-paste-options-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-paste-options-modal-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-paste-options-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-paste-options-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-close-button {
    background: none !important;
    border: none !important;
    font-size: 18px !important;
    color: #666 !important;
    cursor: pointer !important;
    padding: 4px !important;
    border-radius: 4px !important;
    width: auto !important;
    height: auto !important;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-close-button:hover {
    background-color: #f0f0f0 !important;
    color: #1d2327 !important;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-paste-options-body {
    padding: 24px;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-paste-options-body p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #50575e;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-paste-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-paste-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-paste-option:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fa;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-paste-option-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 8px;
    color: #666;
    font-size: 18px;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-paste-option-content h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

#screenglow-modal #screenglow-paste-options-modal .screenglow-paste-option-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #50575e;
}

