/* Meta Title & Description Checker - Main Styles */

.meta-checker-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.meta-checker-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
}

.meta-checker-title {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 600;
}

.meta-checker-subtitle {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 15px;
}

.mtc-field-group {
    margin-bottom: 25px;
}

.mtc-field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    font-size: 15px;
}

.mtc-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.3s ease;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
}

.mtc-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.mtc-counter {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 14px;
}

.mtc-char-count {
    font-weight: 600;
}

.mtc-status {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.mtc-status.good {
    color: #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
}

.mtc-status.warning {
    color: #f39c12;
    background-color: rgba(243, 156, 18, 0.1);
}

.mtc-status.error {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

/* Google Preview */
.mtc-preview-section {
    margin-top: 35px;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mtc-preview-section h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.mtc-google-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #4285f4;
}

.mtc-preview-title {
    color: #1a0dab;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 5px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mtc-preview-title:hover {
    text-decoration: underline;
    cursor: pointer;
}

.mtc-preview-url {
    color: #006621;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mtc-preview-desc {
    color: #545454;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

/* SEO Tips */
.mtc-tips {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
}

.mtc-tips h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.mtc-tips ul {
    margin: 0;
    padding-left: 20px;
}

.mtc-tips li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #555;
}

.mtc-tips li:last-child {
    margin-bottom: 0;
}

.mtc-tips strong {
    color: #2c3e50;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .meta-checker-card {
        padding: 20px;
    }
    
    .meta-checker-title {
        font-size: 22px;
    }
    
    .mtc-preview-title {
        font-size: 16px;
        white-space: normal;
    }
    
    .mtc-input {
        font-size: 14px;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .meta-checker-container {
        padding: 10px;
    }
    
    .meta-checker-card {
        padding: 15px;
    }
    
    .meta-checker-title {
        font-size: 20px;
    }
    
    .mtc-counter {
        flex-direction: column;
        gap: 5px;
    }
}