/* IM Retragere Contract v1.0.0 — form.css */

.imrc-form-wrap { max-width: 760px; margin: 0 auto; }

.imrc-notice { padding: 14px 18px; border-radius: 4px; margin-bottom: 24px; line-height: 1.6; }
.imrc-notice--info    { background: #e8f4fd; border-left: 4px solid #2196f3; color: #1a4a6e; }
.imrc-notice--success { background: #e8f5e9; border-left: 4px solid #43a047; color: #1b5e20; }

#imrc-form h3 { margin: 28px 0 14px; font-size: 16px; border-bottom: 1px solid #e0e0e0; padding-bottom: 6px; }

.imrc-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}
.imrc-row--full { display: block; }
.imrc-col { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; min-width: 0; }

.imrc-row label,
#imrc-form label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 13px; color: #444; }

.imrc-req { color: #e53935; }
.imrc-hint-inline { font-weight: 400; color: #888; font-size: 12px; }
.imrc-hint { font-size: 12px; color: #888; margin: 4px 0 0; }

#imrc-form input[type="text"],
#imrc-form input[type="email"],
#imrc-form input[type="tel"],
#imrc-form select,
#imrc-form textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: border-color .2s;
    transition: border-color .2s;
}
#imrc-form input:focus,
#imrc-form select:focus,
#imrc-form textarea:focus { outline: none; border-color: #7c5cbf; -webkit-box-shadow: 0 0 0 2px rgba(124,92,191,.15); box-shadow: 0 0 0 2px rgba(124,92,191,.15); }
#imrc-form input.imrc-error,
#imrc-form select.imrc-error,
#imrc-form textarea.imrc-error { border-color: #e53935; }
#imrc-form textarea { resize: vertical; line-height: 1.5; }

.imrc-confirm-block { background: #f5f0ff; border: 1px solid #d0bdf7; border-radius: 4px; padding: 14px 16px; margin: 24px 0; }
.imrc-checkbox-label { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 10px; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.5; font-weight: 400 !important; }
.imrc-checkbox-label input[type="checkbox"] { margin-top: 3px; -ms-flex-negative: 0; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }

.imrc-actions { margin-top: 8px; }
.imrc-btn { display: inline-block; padding: 11px 26px; border: none; border-radius: 4px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; -webkit-transition: background .2s, opacity .2s; transition: background .2s, opacity .2s; }
.imrc-btn--primary { background: #7c5cbf; color: #fff; }
.imrc-btn--primary:hover { background: #6a4caf; color: #fff; }
.imrc-btn--primary:disabled { opacity: .6; cursor: not-allowed; }

.imrc-response { margin-top: 16px; padding: 12px 16px; border-radius: 4px; }
.imrc-response.is-error { background: #fdecea; border-left: 4px solid #e53935; color: #b71c1c; }
.imrc-response ul { margin: 0; padding-left: 20px; }

/* My Account */
.imrc-myaccount-wrap { margin-top: 8px; }
.imrc-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.imrc-badge--sent { background: #e8f5e9; color: #2e7d32; }
.imrc-btn-withdraw { display: inline-block; background: #7c5cbf; color: #fff; padding: 7px 14px; border-radius: 4px; font-size: 13px; text-decoration: none; -webkit-transition: background .2s; transition: background .2s; }
.imrc-btn-withdraw:hover { background: #6a4caf; color: #fff; }
.imrc-order-actions { margin-top: 20px; }

/* Responsive */
@media (max-width: 600px) {
    .imrc-row { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; gap: 0; }
}
