.fgsc-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.fgsc-textarea-container {
    margin-bottom: 20px;
}

#fgsc-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 200px;
    resize: vertical;
    font-size: 16px;
    line-height: 1.5;
}

.fgsc-counter {
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.fgsc-limit-exceeded {
    color: #dc3232;
    font-weight: bold;
}

.fgsc-button {
    background: #2271b1;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
}

.fgsc-button:hover {
    background: #135e96;
}

.fgsc-button.fgsc-clear {
    background: #cc1818;
}

.fgsc-button.fgsc-clear:hover {
    background: #a00;
}

.fgsc-results-container {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    background: #f9f9f9;
}

.fgsc-results {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

.fgsc-error {
    background-color: rgba(220, 50, 50, 0.2);
    border-bottom: 2px dashed #dc3232;
    cursor: pointer;
    position: relative;
}

.fgsc-error:hover {
    background-color: rgba(220, 50, 50, 0.3);
}

.fgsc-tooltip {
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 300px;
}

.fgsc-suggestions {
    margin-top: 10px;
}

.fgsc-suggestions ul {
    margin: 5px 0 0 0;
    padding-left: 20px;
}

.fgsc-suggestions li {
    margin-bottom: 5px;
    cursor: pointer;
}

.fgsc-suggestions li:hover {
    color: #2271b1;
    text-decoration: underline;
}

#fgsc-suggestions {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .fgsc-container {
        padding: 10px;
    }
    
    .fgsc-button {
        width: 100%;
        margin-bottom: 10px;
    }
}
