.tecz-serp-container {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tecz-serp-header {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tecz-serp-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #1e293b;
}

.tecz-serp-device-toggle {
    display: flex;
    background: #e2e8f0;
    border-radius: 6px;
    padding: 2px;
}

.tecz-device-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
    color: #475569;
    transition: all 0.2s;
}

.tecz-device-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tecz-serp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.tecz-serp-inputs {
    padding: 20px;
    border-right: 1px solid #e2e8f0;
}

.tecz-form-group {
    margin-bottom: 20px;
}

.tecz-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
}

.tecz-form-group input,
.tecz-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #0f172a;
    box-sizing: border-box;
    font-family: inherit;
}

.tecz-form-group input:focus,
.tecz-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tecz-form-group textarea {
    resize: vertical;
}

.tecz-serp-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.tecz-progress-bar {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.tecz-progress-fill {
    height: 100%;
    width: 0%;
    background: #10b981;
    transition: width 0.3s, background-color 0.3s;
}

.tecz-progress-fill.warning { background: #f59e0b; }
.tecz-progress-fill.danger { background: #ef4444; }

.tecz-serp-preview-panel {
    padding: 20px;
    background: #f8fafc;
}

.tecz-serp-preview-panel h4 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #334155;
}

.tecz-google-preview-box {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: width 0.3s ease;
    font-family: arial, sans-serif;
    word-wrap: break-word;
}

.tecz-google-preview-box.desktop {
    width: 100%;
    max-width: 600px;
}

.tecz-google-preview-box.mobile {
    width: 375px;
    margin: 0 auto;
}

.tecz-google-url {
    font-size: 12px;
    color: #202124;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tecz-google-title {
    font-size: 20px;
    color: #1a0dab;
    line-height: 1.3;
    margin-bottom: 3px;
    cursor: pointer;
}

.tecz-google-title:hover {
    text-decoration: underline;
}

.tecz-google-desc {
    font-size: 14px;
    color: #4d5156;
    line-height: 1.58;
}

@media (max-width: 768px) {
    .tecz-serp-grid {
        grid-template-columns: 1fr;
    }
    .tecz-serp-inputs {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .tecz-google-preview-box.mobile {
        width: 100%;
    }
}