/**
 * Frontend styles for WP Text Analyzer
 */

/* Main container styles */
.wp-text-analyzer-public {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    color: #333;
}

.wp-text-analyzer-public * {
    box-sizing: border-box;
}

/* Header and description */
.wp-text-analyzer-public-header {
    text-align: center;
    margin-bottom: 30px;
}

.wp-text-analyzer-public-header h2 {
    font-size: 28px;
    color: #1e73be;
    margin-bottom: 10px;
}

.wp-text-analyzer-public-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

/* Tab navigation */
.wp-text-analyzer-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.wp-text-analyzer-tab {
    cursor: pointer;
    padding: 12px 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    margin-right: 5px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.wp-text-analyzer-tab:hover {
    background-color: #e9e9e9;
}

.wp-text-analyzer-tab.active {
    background-color: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    color: #1e73be;
}

/* Tab content */
.wp-text-analyzer-tab-content {
    display: none;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.wp-text-analyzer-tab-content.active {
    display: block;
}

/* Main container layout */
.wp-text-analyzer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.wp-text-analyzer-input-section {
    flex: 1 1 400px;
}

.wp-text-analyzer-results-section {
    flex: 1 1 400px;
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
}

/* Text input */
.wp-text-analyzer-input-container {
    margin-bottom: 20px;
}

.wp-text-analyzer-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.wp-text-analyzer-textarea {
    width: 100%;
    min-height: 200px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
}

.wp-text-analyzer-textarea:focus {
    outline: none;
    border-color: #1e73be;
    box-shadow: 0 0 0 1px #1e73be;
}

.wp-text-analyzer-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
}

.wp-text-analyzer-input:focus {
    outline: none;
    border-color: #1e73be;
    box-shadow: 0 0 0 1px #1e73be;
}

.wp-text-analyzer-hint {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
    font-style: italic;
}

/* Buttons */
.wp-text-analyzer-btn-container {
    margin-top: 20px;
}

.wp-text-analyzer-btn {
    background-color: #1e73be;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wp-text-analyzer-btn:hover {
    background-color: #1a5b95;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.wp-text-analyzer-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 115, 190, 0.4);
}

.wp-text-analyzer-btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.wp-text-analyzer-btn-secondary:hover {
    background-color: #e9e9e9;
}

/* Results */
.wp-text-analyzer-result-container {
    margin-bottom: 20px;
}

.wp-text-analyzer-result-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e73be;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.wp-text-analyzer-result-value {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.wp-text-analyzer-result-text {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    max-height: 200px;
    overflow-y: auto;
    font-family: inherit;
    white-space: pre-wrap;
    word-break: break-word;
}

.wp-text-analyzer-notice {
    color: #666;
    font-style: italic;
    font-size: 14px;
    margin-top: 8px;
}

.wp-text-analyzer-copy-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 8px;
}

.wp-text-analyzer-copy-btn:hover {
    background-color: #e9e9e9;
}

/* Loading */
.wp-text-analyzer-loading {
    display: inline-block;
    margin-top: 10px;
    color: #666;
    font-style: italic;
}

.wp-text-analyzer-error {
    color: #d63638;
    font-weight: 500;
    margin-top: 10px;
}

.wp-text-analyzer-placeholder {
    color: #666;
    font-style: italic;
    padding: 20px 0;
    text-align: center;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .wp-text-analyzer-main {
        flex-direction: column;
    }
    
    .wp-text-analyzer-tab {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Diacritic options formatting */
.diacritic-options {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
}

.diacritic-options ul {
    margin-left: 20px;
    padding-left: 15px;
}

.diacritic-options li {
    margin-bottom: 8px;
}

.diacritic-options p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: #666;
}

/* Instructions */
.wp-text-analyzer-instructions {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    color: #495057;
}

/* SEO Analysis Specific Styles */
.wp-text-analyzer-seo-container,
.wp-text-analyzer-readability-container {
    background-color: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wp-text-analyzer-seo-field,
.wp-text-analyzer-readability-field {
    margin-bottom: 20px;
}

.wp-text-analyzer-seo-field label,
.wp-text-analyzer-readability-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
}

.wp-text-analyzer-form-help {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
    font-style: italic;
}

/* Pixel length meter styles */
.wp-text-analyzer-seo-meter {
    width: 100%;
    margin: 10px 0;
    position: relative;
}

.wp-text-analyzer-seo-meter-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.wp-text-analyzer-seo-meter-fill {
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.wp-text-analyzer-seo-meter-fill.good {
    background-color: #46b450;
}

.wp-text-analyzer-seo-meter-fill.warning {
    background-color: #ffb900;
}

.wp-text-analyzer-seo-meter-fill.error {
    background-color: #dc3232;
}

.wp-text-analyzer-notes {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    border-left: 4px solid #4fb3d9;
}

.wp-text-analyzer-notes p {
    margin-bottom: 10px;
}

.wp-text-analyzer-notes ul {
    margin-left: 20px;
}

.wp-text-analyzer-notes li {
    margin-bottom: 5px;
}

.wp-text-analyzer-pixel-info {
    font-size: 14px;
    display: flex;
    gap: 15px;
    color: #555;
}

.wp-text-analyzer-pixel-preview {
    margin-top: 20px;
}

/* Styling cho input giống như trong hình mẫu */
.wp-text-analyzer-seo-field input[type="text"],
.wp-text-analyzer-seo-field textarea,
.wp-text-analyzer-readability-field input[type="text"],
.wp-text-analyzer-readability-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
    background-color: #fff;
}

.wp-text-analyzer-seo-field input[type="text"]:focus,
.wp-text-analyzer-seo-field textarea:focus,
.wp-text-analyzer-readability-field input[type="text"]:focus,
.wp-text-analyzer-readability-field textarea:focus {
    border-color: #1e73be;
    outline: none;
    box-shadow: 0 0 0 1px #1e73be;
}

.wp-text-analyzer-seo-field textarea,
.wp-text-analyzer-readability-field textarea {
    min-height: 120px;
    resize: vertical;
}

.wp-text-analyzer-google-preview {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
    font-family: Arial, sans-serif;
}

.wp-text-analyzer-google-preview-title {
    color: #1a0dab;
    font-size: 18px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wp-text-analyzer-google-preview-url {
    color: #006621;
    font-size: 14px;
    margin-bottom: 5px;
}

.wp-text-analyzer-google-preview-description {
    color: #545454;
    font-size: 14px;
    line-height: 1.4;
}

.wp-text-analyzer-seo-preview h4,
.wp-text-analyzer-readability-info h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #1e73be;
    font-size: 18px;
    font-weight: 600;
}

/* Readability Analysis Specific Styles */
.wp-text-analyzer-readability-info {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
}

.wp-text-analyzer-readability-info ul {
    margin-left: 0;
    padding-left: 20px;
}

.wp-text-analyzer-readability-info li {
    margin-bottom: 8px;
}

.wp-text-analyzer-result-section {
    margin-bottom: 25px;
}

.wp-text-analyzer-result-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.wp-text-analyzer-result-item {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
}

.wp-text-analyzer-status-message {
    font-weight: 500;
    margin-top: 10px;
}

.wp-text-analyzer-suggestions {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
}

.wp-text-analyzer-suggestions ul {
    margin: 0;
    padding-left: 20px;
}

.wp-text-analyzer-suggestions li {
    margin-bottom: 8px;
}

/* Status colors */
.wp-text-analyzer-good {
    border-left: 4px solid #00a32a;
}

.wp-text-analyzer-warning {
    border-left: 4px solid #dba617;
}

.wp-text-analyzer-poor {
    border-left: 4px solid #d63638;
}

.wp-text-analyzer-very_easy,
.wp-text-analyzer-easy,
.wp-text-analyzer-fairly_easy {
    border-left: 4px solid #00a32a;
}

.wp-text-analyzer-medium {
    border-left: 4px solid #72aee6;
}

.wp-text-analyzer-fairly_difficult,
.wp-text-analyzer-difficult,
.wp-text-analyzer-very_difficult {
    border-left: 4px solid #dba617;
}

/* Chart-like statistics display */
.wp-text-analyzer-chart-container {
    display: flex;
    flex-direction: column;
    margin: 15px 0;
}

.wp-text-analyzer-chart-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.wp-text-analyzer-chart-label {
    min-width: 120px;
    font-size: 14px;
}

.wp-text-analyzer-chart-bar-container {
    flex-grow: 1;
    background-color: #f0f0f0;
    height: 24px;
    border-radius: 4px;
    overflow: hidden;
}

.wp-text-analyzer-chart-bar {
    height: 100%;
    background-color: #1e73be;
    border-radius: 4px;
}

.wp-text-analyzer-chart-value {
    min-width: 50px;
    text-align: right;
    font-weight: 500;
    margin-left: 10px;
    font-size: 14px;
}

/* Score display */
.wp-text-analyzer-score-display {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.wp-text-analyzer-score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.wp-text-analyzer-score-good {
    background-color: #00a32a;
}

.wp-text-analyzer-score-medium {
    background-color: #72aee6;
}

.wp-text-analyzer-score-poor {
    background-color: #dba617;
}

.wp-text-analyzer-score-very-poor {
    background-color: #d63638;
}

.wp-text-analyzer-score-info {
    flex-grow: 1;
}

.wp-text-analyzer-score-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.wp-text-analyzer-score-description {
    font-size: 14px;
    color: #666;
}

/* Keyword density meter */
.wp-text-analyzer-density-meter {
    margin: 15px 0;
}

.wp-text-analyzer-density-bar {
    position: relative;
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 5px;
}

.wp-text-analyzer-density-indicator {
    position: absolute;
    top: 0;
    width: 8px;
    height: 30px;
    background-color: #333;
    border-radius: 2px;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.wp-text-analyzer-density-zones {
    display: flex;
    height: 100%;
}

.wp-text-analyzer-density-zone {
    height: 100%;
}

.wp-text-analyzer-density-zone.zone-low {
    width: 10%;
    background-color: #ffcccb;
    border-radius: 4px 0 0 4px;
}

.wp-text-analyzer-density-zone.zone-good {
    width: 50%;
    background-color: #c8e6c9;
}

.wp-text-analyzer-density-zone.zone-high {
    width: 40%;
    background-color: #ffcccb;
    border-radius: 0 4px 4px 0;
}

.wp-text-analyzer-density-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

/* Custom style for select fields */
.wp-text-analyzer-seo-field select,
.wp-text-analyzer-readability-field select {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #1e73be;
    border-radius: 4px;
    background-color: #f7f7f7;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wp-text-analyzer-seo-field select:hover,
.wp-text-analyzer-readability-field select:hover {
    background-color: #e5f5fa;
    border-color: #00a0d2;
}

.wp-text-analyzer-seo-field select:focus,
.wp-text-analyzer-readability-field select:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
    border-color: #00a0d2;
}

/* Length meter */
.wp-text-analyzer-length-meter {
    margin: 15px 0;
}

.wp-text-analyzer-length-label {
    margin-bottom: 5px;
    font-weight: 500;
}

.wp-text-analyzer-length-bar {
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.wp-text-analyzer-length-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s, background-color 0.3s;
}

.wp-text-analyzer-length-fill.good {
    background-color: #46b450;
}

.wp-text-analyzer-length-fill.warning {
    background-color: #ffb900;
}

.wp-text-analyzer-length-fill.error {
    background-color: #dc3232;
}

/* SEO Length Meter */
.wp-text-analyzer-seo-meter {
    margin: 8px 0;
    position: relative;
}

.wp-text-analyzer-seo-meter-bar {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.wp-text-analyzer-seo-meter-fill {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 0; /* Set default width to 0 */
    max-width: 100%; /* Prevent overflow */
    transition: width 0.3s, background-color 0.3s;
}

.wp-text-analyzer-seo-meter-fill.error {
    background-color: #d63638;
}

.wp-text-analyzer-seo-meter-fill.warning {
    background-color: #dba617;
}

.wp-text-analyzer-seo-meter-fill.good {
    background-color: #00a32a;
}

.wp-text-analyzer-length-marks {
    position: relative;
    height: 20px;
    margin-top: 5px;
}

.wp-text-analyzer-length-mark {
    position: absolute;
    transform: translateX(-50%);
    font-size: 11px;
    color: #666;
}

.wp-text-analyzer-length-mark.min:before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    height: 20px;
    width: 1px;
    background-color: #999;
}

.wp-text-analyzer-length-mark.max:before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    height: 20px;
    width: 1px;
    background-color: #999;
}

/* Pixel meter specific styles */
.wp-text-analyzer-pixel-meter {
    margin: 20px 0;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
}

.wp-text-analyzer-pixel-meter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e73be;
}

.wp-text-analyzer-pixel-meter-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.wp-text-analyzer-pixel-meter-value {
    font-size: 14px;
    font-weight: 600;
}

.wp-text-analyzer-pixel-meter-value.good {
    color: #46b450;
}

.wp-text-analyzer-pixel-meter-value.warning {
    color: #ffb900;
}

.wp-text-analyzer-pixel-meter-value.error {
    color: #dc3232;
}

.wp-text-analyzer-pixel-bar {
    height: 24px;
    background-color: #f0f0f0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin-bottom: 5px;
}

.wp-text-analyzer-pixel-fill {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s, background-color 0.3s;
}

.wp-text-analyzer-pixel-fill.good {
    background-color: #46b450;
}

.wp-text-analyzer-pixel-fill.warning {
    background-color: #ffb900;
}

.wp-text-analyzer-pixel-fill.error {
    background-color: #dc3232;
}

.wp-text-analyzer-pixel-zones {
    display: flex;
    height: 8px;
    margin-bottom: 5px;
}

.wp-text-analyzer-pixel-zone {
    height: 100%;
}

.wp-text-analyzer-pixel-zone.zone-low {
    width: 40%;
    background-color: #ffcccb;
    border-radius: 4px 0 0 4px;
}

.wp-text-analyzer-pixel-zone.zone-good {
    width: 20%;
    background-color: #c8e6c9;
}

.wp-text-analyzer-pixel-zone.zone-high {
    width: 40%;
    background-color: #ffcccb;
    border-radius: 0 4px 4px 0;
}

.wp-text-analyzer-pixel-marks {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

.wp-text-analyzer-real-time-result {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
}

/* SERP Preview Tool Styles */
.wp-text-analyzer-serp-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.wp-text-analyzer-serp-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.wp-text-analyzer-serp-description {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
}

.wp-text-analyzer-serp-description p {
    margin-bottom: 10px;
}

.wp-text-analyzer-serp-info-link {
    text-align: center;
    margin-bottom: 30px;
}

.wp-text-analyzer-toggle-info {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.wp-text-analyzer-serp-info-content {
    background-color: #f0f7ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: left;
}

.wp-text-analyzer-serp-info-content p {
    margin-bottom: 10px;
}

.wp-text-analyzer-serp-info-content ul {
    padding-left: 25px;
    margin-bottom: 10px;
}

.wp-text-analyzer-serp-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.wp-text-analyzer-serp-input input {
    flex-grow: 1;
}

.wp-text-analyzer-serp-preview-container {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.wp-text-analyzer-serp-preview-header {
    display: flex;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.wp-text-analyzer-serp-preview-desktop-tab,
.wp-text-analyzer-serp-preview-mobile-tab {
    padding: 12px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.wp-text-analyzer-serp-preview-desktop-tab.active,
.wp-text-analyzer-serp-preview-mobile-tab.active {
    background-color: #fff;
    border-bottom: 2px solid #1a73e8;
    color: #1a73e8;
}

.wp-text-analyzer-serp-preview-content {
    padding: 20px;
}

.wp-text-analyzer-serp-desktop,
.wp-text-analyzer-serp-mobile {
    display: none;
}

.wp-text-analyzer-serp-desktop.active,
.wp-text-analyzer-serp-mobile.active {
    display: block;
}

/* Desktop SERP Result Style */
.wp-text-analyzer-serp-result {
    font-family: Arial, sans-serif;
    max-width: 600px;
}

.wp-text-analyzer-serp-title {
    color: #1a0dab;
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 4px;
    overflow: hidden;
}

.wp-text-analyzer-serp-url {
    color: #006621;
    font-size: 14px;
    margin-bottom: 4px;
}

.wp-text-analyzer-serp-description {
    color: #545454;
    font-size: 14px;
    line-height: 1.4;
}

/* Mobile SERP Result Style */
.wp-text-analyzer-serp-mobile-result {
    font-family: Arial, sans-serif;
    max-width: 340px;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.wp-text-analyzer-serp-mobile-favicon {
    width: 16px;
    height: 16px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.wp-text-analyzer-serp-mobile-url {
    color: #3c4043;
    font-size: 12px;
    margin-bottom: 4px;
    display: inline-block;
    vertical-align: middle;
}

.wp-text-analyzer-serp-mobile-title {
    color: #1a0dab;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 4px;
    overflow: hidden;
}

.wp-text-analyzer-serp-mobile-description {
    color: #3c4043;
    font-size: 14px;
    line-height: 1.3;
}

/* Editor Styles */
.wp-text-analyzer-serp-editor {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.wp-text-analyzer-serp-editor h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.wp-text-analyzer-serp-field {
    margin-bottom: 25px;
}

.wp-text-analyzer-serp-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.wp-text-analyzer-serp-meter {
    margin: 10px 0;
}

.wp-text-analyzer-serp-meter-bar {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.wp-text-analyzer-serp-count {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.wp-text-analyzer-serp-validation {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 13px;
}

.wp-text-analyzer-validation-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 5px;
    background-color: #ccc;
    display: inline-block;
}

.wp-text-analyzer-validation-icon.good {
    background-color: #46b450;
}

.wp-text-analyzer-validation-icon.warning {
    background-color: #ffb900;
}

.wp-text-analyzer-validation-icon.error {
    background-color: #dc3232;
}

.wp-text-analyzer-validation-text {
    color: #666;
}