/* ============================================================
   Yapı CRM Forms — Frontend Stiller
   ============================================================ */

.ycf-form {
    width: 100%;
    font-family: inherit;
}

/* Alan kutuları */
.ycf-field {
    margin-bottom: 20px;
}

.ycf-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.ycf-required {
    color: #cd6906;
    margin-left: 2px;
}

.ycf-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a1a;
    background: #ffffff;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.ycf-input:focus {
    outline: none;
    border-color: #cd6906;
    box-shadow: 0 0 0 3px rgba(205, 105, 6, 0.12);
}

.ycf-input::placeholder {
    color: #aaa;
}

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

.ycf-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Hata mesajı */
.ycf-error {
    color: #c0392b;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Gönder butonu */
.ycf-submit-row {
    margin-top: 8px;
}

.ycf-btn-submit,
.ff-btn-submit {
    background: #cd6906 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 36px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s !important;
    display: inline-block !important;
}

.ycf-btn-submit:hover,
.ff-btn-submit:hover {
    background: #a85405 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(205, 105, 6, 0.3) !important;
}

.ycf-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Yanıt kutusu */
.ycf-response {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
}

.ycf-response.ycf-success {
    background: #f0fdf4;
    border: 1.5px solid #22c55e;
    color: #15803d;
}

.ycf-response.ycf-error-msg {
    background: #fff1f2;
    border: 1.5px solid #f87171;
    color: #b91c1c;
}
