/* Small Tools Hub - Global Styles */
.sth-tool-container {
    max-width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sth-tool-container * {
    box-sizing: border-box;
}

.sth-tool-container input,
.sth-tool-container select,
.sth-tool-container button {
    font-family: inherit;
}

/* Enhanced select dropdown styles to prevent truncation */
.sth-tool-container select {
    min-height: 42px;
    padding: 10px 12px;
    line-height: 1.3;
    width: 100%;
    min-width: 200px;
    max-width: 100%;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sth-tool-container select option {
    white-space: nowrap;
    padding: 8px 12px;
    min-width: 200px;
}

/* Specific fix for meta description generator dropdowns */
.sth-meta-description-generator-container select {
    min-width: 250px;
    width: 100%;
}

.sth-meta-description-generator-container select option {
    min-width: 250px;
    white-space: nowrap;
}

.sth-tool-container button {
    cursor: pointer;
    transition: all 0.3s ease;
}

.sth-tool-container button:hover {
    transform: translateY(-1px);
}

.sth-tool-container .sth-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.sth-tool-container .sth-error {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.sth-tool-container .sth-success {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .sth-tool-container {
        margin: 10px 0;
    }
    
    .sth-tool-container select {
        min-width: 150px;
    }
    
    .sth-meta-description-generator-container select {
        min-width: 200px;
    }
}

/* Manual fix for dropdown truncation */
.sth-meta-options-settings select {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9rem;
    background: white;
    width: 100%;
    min-width: 250px;
    overflow: visible;
    text-overflow: ellipsis;
}

.sth-meta-options-settings select option {
    white-space: nowrap;
    min-width: 250px;
    padding: 8px 12px;
}
