/* Terminology Modal Form Styles */
/* Based on TM Management styles but adapted for terminology */

.tm-form-field {
    margin-bottom: 1rem;
}

.tm-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #212529;
}

.tm-form-input,
.tm-form-textarea,
.tm-form-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.tm-form-input:focus,
.tm-form-textarea:focus,
.tm-form-select:focus {
    color: #495057;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

.tm-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.tm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Checkbox styles for import modal */
.tm-form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tm-form-check input[type="checkbox"] {
    margin-right: 0.5rem;
}

.tm-form-check span {
    font-size: 1rem;
    color: #495057;
}

/* Small text for hints */
.tm-form-field small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #6c757d;
}

.tm-form-field small a {
    color: #0d6efd;
    text-decoration: none;
}

.tm-form-field small a:hover {
    text-decoration: underline;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .tm-form-row {
        grid-template-columns: 1fr;
    }
}