/* Form Components */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition-base);
}

/* Placeholder styles */
.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
    font-family: inherit;
    opacity: 1;
}

.form-input::-webkit-input-placeholder,
.form-textarea::-webkit-input-placeholder {
    color: #999;
    font-family: inherit;
}

.form-input::-moz-placeholder,
.form-textarea::-moz-placeholder {
    color: #999;
    font-family: inherit;
    opacity: 1;
}

.form-input:-ms-input-placeholder,
.form-textarea:-ms-input-placeholder {
    color: #999;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

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

.form-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.has-error .form-input,
.has-error .form-textarea {
    border-color: #dc3545;
}
