/* Meta Description Generator Styles */
.meta-description-generator {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.generator-container .card {
    border: none;
    border-radius: 10px;
}

#description-results .list-group-item {
    padding: 1.25rem;
    border-left: none;
    border-right: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#description-results .list-group-item:first-child {
    border-top: none;
}

.description-text {
    flex-grow: 1;
    line-height: 1.5;
}

.description-actions {
    margin-left: 1rem;
    min-width: 100px;
}

.description-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.description-character-count {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.serp-preview {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    max-width: 600px;
    font-family: Arial, sans-serif;
}

.serp-title {
    color: #1a0dab;
    font-size: 1.125rem;
    font-weight: normal;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.serp-url {
    color: #006621;
    font-size: 0.875rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.serp-description {
    color: #545454;
    font-size: 0.875rem;
    line-height: 1.4;
    word-wrap: break-word;
}

/* Character count indicators */
.character-optimal {
    color: #28a745;
}

.character-warning {
    color: #fd7e14;
}

.character-over {
    color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .meta-description-generator {
        padding: 1rem 0.5rem;
    }
    
    #description-results .list-group-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .description-actions {
        margin-left: 0;
        margin-top: 0.75rem;
        width: 100%;
    }
    
    .description-actions .btn {
        width: 100%;
        margin-bottom: 0.25rem;
    }
}