/* --- GetUp SEO Checker Final Styles (v8.0) --- */
/* Base & Container */
.guc-pro-look { max-width: 900px; margin: 40px auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: #f9fafb; }
.guc-hidden { display: none; }
@keyframes guc-fadein { from { opacity: 0; } to { opacity: 1; } }

/* Form Wrapper */
.guc-form-wrapper { background-color: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 2rem; box-shadow: 0 5px 20px rgba(0,0,0,.05); }
.guc-header { text-align: center; margin-bottom: 2rem; }
.guc-header h1 { font-size: 2.5em; color: #2c3e50; margin-bottom: .5rem; }
.guc-header p { font-size: 1.1em; color: #7f8c8d; max-width: 500px; margin: 0 auto; }
.guc-form { display: flex; flex-direction: column; }
.guc-form label { font-weight: 600; color: #34495e; margin-bottom: .5rem; }
.guc-input-group { display: flex; align-items: center; gap: .5rem; width: 100%; }
#guc-url-input { flex-grow: 1; padding: 12px 15px; border: 1px solid #bdc3c7; border-radius: 6px; font-size: 1em; transition: border-color .3s ease,box-shadow .3s ease; }
#guc-url-input:focus { border-color: #3498db; box-shadow: 0 0 0 3px rgba(52,152,219,.2); outline: none; }
#guc-analyze-btn { display: block; width: 100%; padding: 14px 25px; border: none; border-radius: 6px; background-color: #3498db; color: #fff; font-size: 1.1em; font-weight: 700; cursor: pointer; transition: background-color .3s ease; margin-top: 1rem; }
#guc-analyze-btn:hover { background-color: #2980b9; }
#guc-analyze-btn:disabled { background-color: #95a5a6; cursor: not-allowed; }
#guc-settings-btn { background: #ecf0f1; border: 1px solid #bdc3c7; border-radius: 6px; padding: 8px; cursor: pointer; flex-shrink: 0; height: 47px; width: 47px; }
#guc-settings-btn svg { width: 24px; height: 24px; fill: #7f8c8d; }
#guc-settings-panel { background: #f8f9f9; border: 1px solid #e0e0e0; border-radius: 6px; padding: 1rem; margin-top: 1rem; overflow: hidden; }
.guc-panel-title { margin: 0 0 1rem; font-weight: 600; color: #34495e; }
.guc-auth-fields { display: flex; gap: 1rem; }
.guc-auth-fields input { width: 50%; padding: 10px; border: 1px solid #bdc3c7; border-radius: 6px; font-size: .9em; }
.guc-error { color: #e74c3c; font-weight: 600; text-align: center; margin-top: 1rem; }

/* Loading Indicator */
#guc-loading { margin-top: 30px; text-align: center; color: #555; }
.guc-spinner { margin: 0 auto 15px; border: 4px solid #f3f3f3; border-top: 4px solid #3498db; border-radius: 50%; width: 40px; height: 40px; animation: guc-spin 1s linear infinite; }
@keyframes guc-spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }

/* Results Wrapper & Tabs */
#guc-results-wrapper { margin-top: 2rem; animation: guc-fadein .5s; }
.guc-results-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid #eee; }
.guc-results-header h2 { margin: 0; font-size: 1.5em; color: #2c3e50; }
.guc-action-buttons { display: flex; gap: .5rem; }
.guc-action-buttons button { background-color: #fff; border: 1px solid #bdc3c7; border-radius: 6px; padding: 8px 16px; font-size: .9em; font-weight: 600; color: #34495e; cursor: pointer; transition: background-color .3s,border-color .3s; }
.guc-action-buttons button:hover { background-color: #f8f9f9; border-color: #95a5a6; }
.guc-tabs { display: flex; border-bottom: 1px solid #e0e0e0; margin-bottom: 1.5rem; }
.guc-tab-link { padding: 10px 20px; cursor: pointer; border: none; background: none; font-size: 1em; color: #7f8c8d; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.guc-tab-link.active { color: #3498db; border-bottom-color: #3498db; font-weight: 600; }
.guc-tab-content { display: none; animation: guc-fadein .5s; }
.guc-tab-content.active { display: block; }

/* --- Tab: Checks --- */
.guc-section-onpage-score { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 1.5rem; display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center; }
.guc-score-circle-lg { --p:0; --b:15px; --c:#3498db; --w:180px; width: var(--w); aspect-ratio: 1; position: relative; display: inline-grid; margin: 0 auto; place-content: center; font-size: 2.8em; font-weight: 700; transition: --p 1s; }
.guc-score-circle-lg:before { content:""; position:absolute; border-radius:50%; inset:0; background: conic-gradient(var(--c) calc(var(--p)*1%),#f0f0f0 0); -webkit-mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b))); mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b))); }
.guc-score-circle-lg div { text-align: center; }
.guc-score-circle-lg span { font-size: 0.4em; font-weight: normal; color: #7f8c8d; display: block; }
.guc-category-scores { display: flex; flex-direction: column; gap: 1rem; }
.guc-progress-bar { width: 100%; background: #e0e0e0; border-radius: 4px; overflow: hidden; height: 10px; }
.guc-progress-bar-inner { height: 100%; background: #3498db; width: 0; transition: width 1s ease-out; border-radius: 4px; }
.guc-progress-label { display: flex; justify-content: space-between; font-size: .9em; margin-bottom: .25rem; font-weight: 500; }
.guc-grid-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.guc-info-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 1.5rem; }
.guc-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid #f0f0f0; }
.guc-card-header h3 { margin: 0; font-size: 1.2em; }
.guc-html-page-info { display: grid; grid-template-columns: 120px 1fr; gap: .5rem 1rem; font-size: .9em; }
.guc-html-page-info dt { font-weight: 600; color: #555; }
.guc-html-page-info dd { margin: 0; }
.guc-todo-list { list-style: none; padding: 0; margin: 0; }
.guc-todo-list li { padding: .75rem; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; gap: .75rem; }
.guc-todo-list li:last-child { border: none; }
.guc-todo-priority { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; }
.guc-todo-priority.p-1 { background: #e74c3c; } /* Error */
.guc-todo-priority.p-2 { background: #f39c12; } /* Warning */
.guc-todo-priority.p-3 { background: #3498db; } /* Tip */
.guc-detailed-checks { margin-top: 1.5rem; }
.guc-check-category { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 1rem; }
.guc-check-category-header { padding: 1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.guc-check-category-header h4 { margin: 0; }
.guc-check-category-body { padding: 0 1rem 1rem; border-top: 1px solid #f0f0f0; display: none; }

/* --- Tab: Elements & Miscellaneous --- */
.guc-element-accordion, .guc-misc-container { display: flex; flex-direction: column; gap: 1rem; }
.guc-element-item, .guc-misc-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; }
.guc-element-header, .guc-misc-header { padding: 1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.1em; }
.guc-element-header:hover, .guc-misc-header:hover { background-color: #f8f9f9; }
.guc-element-title, .guc-misc-title { font-weight: 600; }
.guc-element-summary { background-color: #ecf0f1; color: #34495e; padding: 3px 10px; border-radius: 5px; font-size: .9em; }
.guc-element-body, .guc-misc-body { padding: 0 1rem 1rem; border-top: 1px solid #f0f0f0; display: none; font-size: .9em; color: #333; }
.guc-element-body table, .guc-misc-body table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.guc-element-body th, .guc-element-body td, .guc-misc-body th, .guc-misc-body td { padding: 8px; border: 1px solid #e0e0e0; text-align: left; word-break: break-word; }
.guc-element-body th, .guc-misc-body th { background-color: #f8f9f9; }
.guc-element-body ul { padding-left: 20px; }
.guc-search-preview { border: 1px solid #dfe1e5; border-radius: 8px; padding: 16px; background-color: #ffffff; font-family: arial, sans-serif; }
.guc-search-preview-url { color: #202124; font-size: 14px; margin-bottom: 2px; }
.guc-search-preview-title { color: #1a0dab; font-size: 20px; font-weight: normal; text-decoration: none; margin: 0; }
.guc-search-preview-title:hover { text-decoration: underline; }
.guc-search-preview-desc { color: #4d5156; font-size: 14px; line-height: 1.5; margin-top: 4px; }
.guc-robots-txt { background-color: #2d2d2d; color: #f1f1f1; padding: 15px; border-radius: 6px; white-space: pre-wrap; word-wrap: break-word; font-family: monospace; max-height: 300px; overflow-y: auto; }

/* Modal */
.guc-modal { position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,.6); }
.guc-modal-content { background-color: #fefefe; margin: 5% auto; padding: 20px; border: 1px solid #888; width: 80%; border-radius: 8px; position: relative; }
.guc-close-btn { color: #aaa; float: right; font-size: 28px; font-weight: 700; cursor: pointer; }
.guc-close-btn:hover, .guc-close-btn:focus { color: #000; text-decoration: none; }
.guc-modal-content h3 { margin-top: 0; }
.guc-modal-content pre { background: #2d2d2d; color: #f1f1f1; padding: 15px; border-radius: 6px; max-height: 60vh; overflow: auto; }

