.receipt-panel {
    max-width: 760px;
    margin: 0 auto 40px;
    padding: 32px;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.receipt-panel-head {
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid #edf1f5;
}

.receipt-kicker {
    color: var(--theme);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.receipt-panel-head h4 {
    margin: 8px 0;
    color: #2f3f36;
    font-size: 1.35rem;
}

.receipt-panel-head p {
    margin: 0;
    color: #718078;
    line-height: 1.6;
}

.receipt-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}

.receipt-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.receipt-field label {
    color: #2f3f36;
    font-size: .95rem;
    font-weight: 600;
}

.receipt-field input,
.receipt-field select {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #d7e2db;
    border-radius: 10px;
    background-color: #fff;
    color: #2f3f36;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.receipt-field input:focus,
.receipt-field select:focus {
    outline: none;
    border-color: var(--theme);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme) 20%, transparent);
}

.receipt-field .receipt-date-range {
    width: 100%;
}

.receipt-date-range input[type="text"].flatpickr {
    text-align: left;
}

.receipt-form > button {
    grid-column: 1 / -1;
    min-height: 48px;
    margin-top: 4px;
    border: 0;
    border-radius: 10px;
    background: var(--theme);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}

.receipt-form > button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.receipt-form > button:disabled {
    opacity: .6;
    cursor: wait;
}

@media (max-width: 640px) {
    .receipt-panel {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .receipt-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .receipt-form > button {
        grid-column: 1;
    }
}

