.card {
    background-color: var(--card-color);
    border-radius: 30px;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid var(--outline);
}

.button-submit {
    fill: var(--primary-color);
    transition: fill 0.3s ease;
    cursor: pointer;
}

.button-submit:hover {
    fill: var(--secondary-color);
}

h1 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.textarea {
    width: 100%;
    min-height: 60px;
    max-height: 200px;
    overflow-y: auto;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    resize: none;
    color: #333;
    outline: none;
    box-shadow: inset 0 0 0 1px transparent;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.textarea::placeholder {
    color: #aaa;
}

.container-actions {
    display: flex;
    justify-content: space-between;
}

.radio-group {
    display: flex;
    gap: 16px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
}

input[type="radio"] {
    accent-color: var(--primary-color);
}

#submit-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(66, 133, 244, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

/* Results */
.results {
    display: none;
    margin-top: 2rem;
}

.result-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.result-label {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.result-value {
    word-break: break-word;
}

.sentiment-positive {
    color: var(--secondary-color);
}

.sentiment-neutral {
    color: var(--neutral-color);
}

.sentiment-negative {
    color: var(--error-color);
}

/* Form inputs */
.form-input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid var(--outline);
    border-radius: 8px;
    color: var(--text-color);
    font-family: "Sora", sans-serif;
    transition: border-color 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-color);
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: "Sora", sans-serif;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #005ecb;
}

/* Alerts */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-error {
    background-color: #fce8e6;
    color: var(--error-color);
    border: 1px solid #f5c6c2;
}

.alert-success {
    background-color: #e6f4ea;
    color: #1e7e34;
    border: 1px solid #b7e1c3;
}
