/* Modern Form Stilleri */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-color);
    font-size: 15px;
    font-family: var(--primary-font);
    transition: all 0.2s ease;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Focus durumu */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(var(--primary-accent-rgb), 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    will-change: border-color, box-shadow;
}

/* Placeholder stili */
::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Form grupları */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Form etiketleri */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

/* Gerekli alan yıldızı */
.required {
    color: #ef4444;
}

/* Submit butonları */
button,
input[type="submit"],
input[type="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: var(--primary-accent);
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    opacity: 0.9;
}

/* Disabled durumu */
input:disabled,
textarea:disabled,
select:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
}

/* Hata durumu */
.woocommerce-invalid input,
.woocommerce-invalid select {
    border-color: #ef4444;
}

/* Başarılı durumu */
.woocommerce-validated input,
.woocommerce-validated select {
    border-color: #10b981;
}

/* Hesap sayfası özel stilleri */
.woocommerce-account .woocommerce-MyAccount-content {
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.woocommerce-account fieldset {
    margin: 24px 0;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.woocommerce-account legend {
    padding: 0 8px;
    font-weight: 600;
    font-size: 16px;
}

/* Şifre göster/gizle butonu */
.show-password-input {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
}

.show-password-input:hover {
    color: var(--text-color);
}

/* Form açıklamaları */
.description {
    margin-top: 4px;
    font-size: 13px;
    color: #6b7280;
}

/* Mobil düzenlemeler */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="password"],
    input[type="search"],
    input[type="number"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px; /* iOS zoom sorununu önle */
        padding: 10px 14px;
    }
    
    button,
    input[type="submit"],
    input[type="button"] {
        width: 100%;
        padding: 12px 20px;
    }
} 