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

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-field {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: var(--lot-green);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: var(--white);
    font-family: "Roboto", sans-serif;
}

.form-input:disabled,
.form-textarea:disabled,
.form-file-input:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--lot-orange);
    box-shadow: 0 0 0 3px rgba(254, 222, 123, 0.2);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--error-color);
}

.form-input.error:focus,
.form-textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.form-hint {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.video-importance-notice {
    background-color: #fffbea;
    border-left: 4px solid var(--lot-orange);
    padding: 0.75rem 1rem;
    margin: 0.5rem 0 1rem 0;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lot-green);
    line-height: 1.5;
    font-style: italic;
}

.required-fields-notice {
    background-color: #fff4e6;
    border-left: 4px solid var(--lot-orange);
    padding: 0.75rem 1rem;
    margin: 0 0 2rem 0;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lot-green);
    line-height: 1.5;
}

.inscriptions-closed-notice {
    background-color: #ffebee;
    border-left: 4px solid #d32f2f;
    padding: 0.75rem 1rem;
    margin: 0 0 2rem 0;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #c62828;
    line-height: 1.5;
}

.form-file-input {
    width: 100%;
    padding: 1rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
    font-family: "Roboto", sans-serif;
    font-size: 0.95rem;
    color: #666;
}

.form-file-input:hover {
    border-color: var(--lot-orange);
    background-color: rgba(254, 222, 123, 0.1);
}

.form-file-input::file-selector-button {
    padding: 0.6rem 1.2rem;
    margin-right: 1rem;
    border: none;
    border-radius: 6px;
    background-color: var(--lot-green);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: "Roboto", sans-serif;
}

.form-file-input::file-selector-button:hover {
    background-color: #1a5c1a;
}

.form-file-input:disabled::file-selector-button {
    background-color: #ccc;
    cursor: not-allowed;
}

.video-guide-notice {
    background-color: #e8f5e9;
    border: 2px solid var(--lot-green);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.video-guide-notice p {
    margin: 0 0 0.75rem 0;
    color: var(--lot-green);
    font-size: 0.95rem;
    line-height: 1.5;
}

.video-guide-notice p:last-child {
    margin-bottom: 0;
    font-style: italic;
}

.video-guide-notice ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.video-guide-notice li {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

/* Checkbox styles */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    background-color: #fff8e6;
    border: 2px solid var(--lot-orange);
    border-radius: 8px;
    transition: all 0.3s;
}

.checkbox-container:hover {
    background-color: #fff4d9;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: var(--lot-green);
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.95rem;
    color: var(--lot-green);
    line-height: 1.5;
}

.checkbox-label strong {
    color: var(--lot-orange);
}

@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}
