/** * Update Source Selector Styles * * @package WPALLSTARS\PluginStarterTemplate */ /* Modal Styles */ .wpst-modal { display: none; position: fixed; z-index: 100000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.4); } .wpst-modal-content { position: relative; background-color: #fefefe; margin: 10% auto; padding: 20px; border-radius: 5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); width: 500px; max-width: 90%; } .wpst-modal-header { padding-bottom: 15px; border-bottom: 1px solid #eee; margin-bottom: 15px; } .wpst-modal-title { margin: 0; font-size: 18px; font-weight: 600; } .wpst-modal-close { position: absolute; top: 10px; right: 15px; font-size: 20px; font-weight: bold; color: #666; cursor: pointer; } .wpst-modal-close:hover, .wpst-modal-close:focus { color: #000; text-decoration: none; } .wpst-modal-body { margin-bottom: 20px; } .wpst-modal-footer { padding-top: 15px; border-top: 1px solid #eee; text-align: right; } /* Source Selection Styles */ .wpst-source-options { margin: 15px 0; } .wpst-source-option { display: block; margin-bottom: 10px; padding: 10px; border: 1px solid #ddd; border-radius: 3px; cursor: pointer; } .wpst-source-option:hover { background-color: #f9f9f9; } .wpst-source-option.selected { border-color: #0073aa; background-color: #f0f6fc; } .wpst-source-option input[type="radio"] { margin-right: 10px; } .wpst-source-option-label { font-weight: 600; } .wpst-source-option-description { margin-top: 5px; color: #666; font-size: 13px; } /* Loading Indicator */ .wpst-loading { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(0, 0, 0, 0.1); border-radius: 50%; border-top-color: #0073aa; animation: wpst-spin 1s ease-in-out infinite; margin-right: 10px; vertical-align: middle; } @keyframes wpst-spin { to { transform: rotate(360deg); } } /* Message Styles */ .wpst-modal-message { padding: 10px; margin: 10px 0; border-radius: 3px; display: none; } .wpst-modal-message.success { background-color: #ecf7ed; border: 1px solid #46b450; color: #2a6f31; } .wpst-modal-message.error { background-color: #fbeaea; border: 1px solid #dc3232; color: #8a1f1f; }