/* Meta Tag Generator Specific UI */

.hidden { display: none !important; }

.mtg-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Google Search Preview Simulation */
.mtg-google-preview {
    margin: 30px 0;
    animation: fadeIn 0.4s ease;
}

.mtg-preview-header {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.mtg-preview-box {
    background: #ffffff;
    border: 1px solid #dfe1e5;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.mtg-preview-url {
    color: #202124;
    font-size: 14px;
    margin-bottom: 6px;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
}

.mtg-preview-title {
    color: #1a0dab;
    font-size: 20px;
    margin-bottom: 6px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mtg-preview-title:hover {
    text-decoration: underline;
}

.mtg-preview-desc {
    color: #4d5156;
    font-size: 14px;
    line-height: 1.58;
    font-family: Arial, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
}

/* Results Container & Code Box */
.mtg-results-container {
    margin-top: 35px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    animation: fadeIn 0.4s ease;
}

.mtg-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mtg-code-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mtg-btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* Dark Mode Code Box */
.mtg-code-box {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    font-family: 'Consolas', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
    text-align: left;
    margin: 0;
    border: 1px solid #0f172a;
}
