/*
 * Rare Part Request Form - Dark theme (matches car-finder-selector)
 * محل قرارگیری پیشنهادی: chid-theme/include/classes/rare-part-request/assets/css/rare-part-form.css
 */

.rare-part-form {
    max-width: 420px;
    background: linear-gradient(180deg, #2b2b2b 0%, #161616 100%);
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-family: inherit;
    direction: rtl;
}

.rare-part-form-title {
    color: #f5a623;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px;
    line-height: 1.7;
}

.rare-part-form-subtitle {
    color: #ccc;
    font-size: 13px;
    text-align: center;
    margin: 0 0 22px;
    line-height: 1.8;
}

.rare-part-form-field {
    margin-bottom: 14px;
}

.rare-part-form-field input,
.rare-part-form-field textarea {
    width: 100%;
    box-sizing: border-box;
    background: #3a3a3a;
    color: #eee;
    border: 1px solid #4a4a4a;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    resize: vertical;
    direction: rtl;
}

.rare-part-form-field input::placeholder,
.rare-part-form-field textarea::placeholder {
    color: #999;
}

.rare-part-form-field input:focus,
.rare-part-form-field textarea:focus {
    outline: none;
    border-color: #f5a623;
}

.rare-part-form-submit {
    width: 100%;
    background: #f5a623;
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.rare-part-form-submit:hover:not(:disabled) {
    background: #e3961a;
}

.rare-part-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.rare-part-form-message {
    margin: 14px 0 0;
    font-size: 14px;
    text-align: center;
    line-height: 1.8;
    display: none;
}

.rare-part-form-message.is-success {
    display: block;
    color: #6fd67a;
}

.rare-part-form-message.is-error {
    display: block;
    color: #ff8080;
}