/**
 * Form Stilleri
 */

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-group-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.form-group-inline .form-group {
    margin-bottom: 0;
}

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

/**
 * Form Grid - 4'lü Grid Sistemi (KRİTİK - ZORUNLU)
 * Tüm formlarda bu yapı kullanılmalıdır
 */
.form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.form-group-full {
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 1200px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2D2D2D;
    margin-bottom: 6px;
}

.form-label.required::after {
    content: " *";
    color: #EF4444;
}

.form-error {
    color: #EF4444;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    font-size: 14px;
    color: #2D2D2D;
    background: #FFFFFF;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    transition: all 0.2s;
}

.form-textarea:focus {
    outline: none;
    border-color: #D1D5DB;
    box-shadow: 0 0 0 3px rgba(45, 45, 45, 0.05);
}

.form-select {
    width: 100%;
    padding: 10px 12px;
    padding-right: 36px;
    height: 38px;
    min-height: 38px;
    line-height: 1.5;
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    font-size: 14px;
    color: #2D2D2D;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232D2D2D' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    box-sizing: border-box;
}

.form-select:focus {
    outline: none;
    border-color: #D1D5DB;
    box-shadow: 0 0 0 3px rgba(45, 45, 45, 0.05);
}

.form-select:disabled {
    background: #F7F7F8;
    color: #6E6E80;
    cursor: not-allowed;
}

/**
 * Form Actions - Tüm formlarda standart (KRİTİK - ZORUNLU)
 */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid #E8E8E8;
}

/**
 * Form Section - Tüm formlarda standart (KRİTİK - ZORUNLU)
 */
.form-section {
    margin-bottom: 32px;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

