/* =============================================================================
   Simple SEO Checker — ssc.css
   Place this file at: simple-seo-checker/assets/ssc.css
   ============================================================================= */

/* ---- Shared wrappers ---- */
.ssc-form-wrap,
.ssc-result-wrap {
    max-width: 640px;
    margin: 0rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================================================
   FORM
   ========================================================================= */
.ssc-form-wrap {
	background: #1d222a;
    border: 1px solid #2f3540;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.ssc-form-wrap h3 {
    font-size: 1.25rem;
    color: #EFF1F4;
    text-align: center;
}

.ssc-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ssc-form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
	font-family: 'Poppins-Regular';
	text-align: center;
}

.ssc-url-input {
    width: 100%;
    padding: 0.65rem 1rem !important;
    font-size: 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
	height: 60px;
}

.ssc-url-input::placeholder {
    color: #8080803d;
}

.ssc-url-input:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.25);
}

.ssc-url-input.ssc-input-error {
    border-color: #fc8181;
    box-shadow: 0 0 0 3px rgba(252, 129, 129, 0.25);
}

/* Inline validation message */
.ssc-url-error {
    font-size: 0.8rem;
    color: #c53030;
    min-height: 1rem;
	position: absolute;
}

/* Submit button */
.ssc-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: #30e8d9;
    color: #101318;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    align-self: flex-start;
	height: 60px;
    width: 100%;
    justify-content: center;
}

.ssc-submit-btn:hover {
    background: #42f0c6;
}

.ssc-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Spinner (CSS-only) */
.ssc-spinner {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ssc-spin 0.7s linear infinite;
    flex-shrink: 0;
}

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

.text-disclaimer {
    line-height: 1.5em;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    margin: 1rem 0 0;
}

/* =========================================================================
   NOTICES
   ========================================================================= */
.ssc-notice {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.ssc-notice-error {
    background: #fff5f5;
    border: 1px solid #fc8181;
    color: #c53030;
}

.ssc-notice-info {
    background: #ebf8ff;
    border: 1px solid #90cdf4;
    color: #2b6cb0;
}

/* =========================================================================
   RESULT CARD
   ========================================================================= */
.ssc-result-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.ssc-result-url {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 1.5rem;
    word-break: break-all;
}

.ssc-result-url a {
    color: #3182ce;
    text-decoration: none;
}

.ssc-result-url a:hover {
    text-decoration: underline;
}

.ssc-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #edf2f7;
}

.ssc-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ssc-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a0aec0;
    margin-bottom: 0.5rem;
}

.ssc-section-value {
    font-size: 1rem;
    color: #2d3748;
    line-height: 1.6;
}

.ssc-meta {
    font-size: 0.8rem;
    color: #718096;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

/* Badge (char count) */
.ssc-badge {
    display: inline-block;
    background: #ebf8ff;
    color: #2b6cb0;
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Hint text */
.ssc-hint {
    font-size: 0.8rem;
}

.ssc-hint--ok {
    color: #276749;
}

.ssc-hint--warn {
    color: #c05621;
}

/* Missing value */
.ssc-missing {
    color: #a0aec0;
    font-style: italic;
}

/* H1 list */
.ssc-h1-list {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.ssc-h1-list li {
    margin-bottom: 0.3rem;
    color: #2d3748;
}