/* CSS Linter specific styles (similar to JS Linter for consistency) */

.tool-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    resize: vertical; /* Allow vertical resizing */
    box-sizing: border-box; /* Include padding in width */
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus {
    border-color: #007bff; /* Primary color */
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.gap-3 > *:not(:last-child) {
    margin-right: 15px; /* Adjust spacing between buttons */
}

/* Results Area */
#results {
    background-color: #f8f9fa;
    border-color: #e9ecef !important;
}

.output-area {
    min-height: 100px;
    max-height: 400px; /* Limit height and add scroll */
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 5px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.9rem;
    color: #333;
    white-space: pre-wrap; /* Preserve whitespace and wrap lines */
    word-wrap: break-word; /* Break long words */
}

.output-area p {
    margin-bottom: 5px;
    line-height: 1.5;
}

.output-area .success-message {
    color: #28a745; /* Green for success */
    font-weight: bold;
}

.output-area .error-message {
    color: #dc3545; /* Red for errors */
    font-weight: bold;
}

.output-area .warning-message {
    color: #ffc107; /* Orange for warnings */
    font-weight: bold;
}

.output-area .text-muted {
    color: #6c757d;
}