.xy-inq-wrapper {
    padding: 48px 52px;
    background: #ffffff;
    border-radius: 2px;
    box-shadow: none;
    border: 1px solid #d8dde6;
    border-top: 5px solid #1b2a41;
    position: relative;
}

.xy-inq-products {
    margin-bottom: 0;
}

.xy-inq-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid #edf0f5;
    position: relative;
    margin-bottom: 0;
}

.xy-inq-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 180px;
}

.xy-inq-col label {
    font-size: 16px;
    font-weight: 700;
    color: #8a96a8;
    margin-bottom: 10px;
    text-transform: uppercase;
    
}

.xy-inq-col input,
.xy-inq-col select,
.xy-inq-col textarea {
    padding: 12px 14px;
    border: 1px solid #dce1ea;
    border-radius: 3px;
    font-size: 14px;
    color: #1b2a41;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.xy-inq-col 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 d='M1 1l5 5 5-5' stroke='%238a96a8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: #f9fafb;
    padding-right: 38px;
    cursor: pointer;
}

.xy-inq-col input:focus,
.xy-inq-col select:focus,
.xy-inq-col textarea:focus {
    border-color: #1b2a41;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(27, 42, 65, 0.07);
}

.xy-col-name { flex: 3; }
.xy-col-qty { flex: 1.2; min-width: 140px; }
.xy-col-pkg { flex: 2; }
.xy-col-act { flex: 0 0 44px; min-width: 44px; align-items: flex-end; justify-content: flex-end; }

.xy-btn-remove {
    background: transparent;
    color: #b8c1cf;
    border: 1px solid #dce1ea;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    font-size: 22px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    line-height: 1;
}

.xy-btn-remove:hover {
    background: #1b2a41;
    color: #fff;
    border-color: #1b2a41;
}

.xy-inq-add-wrap {
    margin: 12px 0 36px;
}

#xy-btn-add-row {
    background: transparent;
    color: #6b788a;
    border: 1px dashed #c8d0db;
    padding: 11px 22px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
   
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#xy-btn-add-row:hover {
    background: #f3f5f8;
    border-color: #8a96a8;
    color: #1b2a41;
}

.xy-inq-user {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 36px;
    margin-bottom: 28px;
   
    padding: 32px 36px;
    border: 1px solid #dce1ea;
    border-left: 4px solid #1b2a41;
}

.xy-inq-user .xy-inq-col label {
    color: #6b788a;
}

.xy-inq-user .xy-inq-col input,
.xy-inq-user .xy-inq-col select {
    background: #ffffff;
}

.xy-inq-user .xy-full {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid #e2e7ef;
}

.xy-inq-user .xy-full label {
    font-size: 16px;
    font-weight: 700;
    color: #1b2a41;
    
    text-transform: uppercase;
    margin-bottom: 14px;
}

.xy-textarea-hint {
    font-size: 16px;
    color: #5a6678;
    line-height: 1.75;
    margin: 0 0 14px;
    padding: 14px 18px;
    background: #edf1f7;
    border-left: 3px solid #8a96a8;
    border-radius: 0 3px 3px 0;
}

.xy-inq-user .xy-full textarea {
    font-size: 14px;
    line-height: 1.7;
    min-height: 120px;
    resize: vertical;
    color: #1b2a41;
    background: #ffffff;
    border: 1px solid #dce1ea;
    border-radius: 3px;
    padding: 16px 18px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.xy-inq-user .xy-full textarea:focus {
    border-color: #1b2a41;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(27, 42, 65, 0.07);
}

.xy-inq-submit {
    background: #6ea831;
    color: #ffffff;
    border: none;
    padding: 17px 30px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    
    transition: background 0.2s;
    box-shadow: none;
    display: block;
}

.xy-inq-submit:hover {
    background: #5c9028;
}

.xy-inq-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

#xy-inq-msg {
    padding: 15px 20px;
    margin-bottom: 28px;
    border-radius: 3px;
    display: none;
    font-weight: 600;
    font-size: 14px;
}

.xy-msg-success {
    background: #f0fdf4;
    color: #14532d;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
}

.xy-msg-error {
    background: #fff5f5;
    color: #7f1d1d;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
}

@media (max-width: 900px) {
    .xy-inq-wrapper { padding: 32px 28px; }
    .xy-inq-user { padding: 24px 22px; gap: 18px 24px; }
}

@media (max-width: 768px) {
    .xy-inq-wrapper { padding: 22px 18px; border-top-width: 4px; }
    .xy-inq-user { grid-template-columns: 1fr; padding: 20px 18px; gap: 16px; }
    .xy-inq-row { flex-direction: column; gap: 14px; padding: 18px 0; }
    .xy-col-act { flex: 1 1 100%; }
    .xy-btn-remove { width: 100%; height: 42px; }
    .xy-inq-add-wrap { margin-bottom: 28px; }
}