/* PATCH-SIMPLPAY-019 */

.collect-money-button {
    width: 100%;
    min-height: 54px;
    margin-top: 11px;
    border: 1px solid #fdba74;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    color: #c2410c;
    background:
        linear-gradient(
            145deg,
            #fff7ed,
            #fffbeb
        );
    font-size: 14px;
    font-weight: 900;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.collect-money-button:hover {
    transform: translateY(-2px);
    border-color: #fb923c;
    box-shadow:
        0 12px 26px rgba(234, 88, 12, 0.13);
}

.collect-form-grid {
    display: grid;
    gap: 14px;
}

.collect-field {
    display: grid;
    gap: 7px;
}

.collect-field label {
    color: #374151;
    font-size: 12px;
    font-weight: 850;
}

.collect-input {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    border: 1.5px solid #e5e7eb;
    border-radius: 15px;
    outline: none;
    color: #111827;
    background: #ffffff;
    font: inherit;
    font-size: 13px;
}

.collect-input:focus {
    border-color: #fb923c;
    box-shadow:
        0 0 0 4px rgba(249, 115, 22, 0.11);
}

.collect-inline-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.collect-profile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.collect-profile-title {
    margin: 0;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.collect-profile-select {
    width: min(100%, 210px);
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    outline: none;
    color: #9a3412;
    background: #fff7ed;
    font-size: 11px;
    font-weight: 850;
}

.collect-profile-actions {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 13px;
}

.collect-secondary-button,
.collect-primary-button,
.collect-danger-button {
    min-height: 50px;
    padding: 9px 11px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}

.collect-secondary-button {
    border: 1px solid #fed7aa;
    color: #c2410c;
    background: #fff7ed;
}

.collect-primary-button {
    border: 0;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #ea580c,
            #d97706
        );
    box-shadow:
        0 13px 28px rgba(234, 88, 12, 0.2);
}

.collect-danger-button {
    width: 100%;
    margin-top: 9px;
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fff7f7;
}

.collect-status {
    min-height: 20px;
    margin: 12px 0 0;
    color: #6b7280;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.45;
    text-align: center;
}

.collect-status.success {
    color: #047857;
}

.collect-status.error {
    color: #b91c1c;
}

.collect-qr-card {
    padding: 20px;
    border: 1px solid #fed7aa;
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fff7ed
        );
    text-align: center;
}

.collect-qr-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 16px;
    color: #9a3412;
    font-size: 17px;
    font-weight: 950;
}

.collect-qr-brand img {
    width: 35px;
    height: 35px;
    border-radius: 11px;
}

.collect-qr-container {
    width: min(100%, 278px);
    min-height: 278px;
    margin: 0 auto;
    padding: 14px;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: #ffffff;
}

.collect-qr-container img,
.collect-qr-container canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.collect-qr-amount {
    margin: 17px 0 5px;
    color: #111827;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -1px;
}

.collect-qr-recipient {
    margin: 0;
    color: #9a3412;
    font-size: 15px;
    font-weight: 900;
}

.collect-qr-upi {
    margin: 5px 0 0;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.collect-qr-note {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.5;
}

.collect-result-actions {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.collect-result-action {
    min-height: 49px;
    padding: 8px 9px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    cursor: pointer;
    color: #c2410c;
    background: #fff7ed;
    font-size: 11px;
    font-weight: 900;
}

.collect-result-action.primary {
    border: 0;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #ea580c,
            #d97706
        );
}

.collect-link-box {
    margin-top: 13px;
    padding: 11px 12px;
    border: 1px solid #fed7aa;
    border-radius: 13px;
    color: #6b7280;
    background: #fffbeb;
    font-size: 10px;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}

.collect-disclaimer {
    margin: 13px 0 0;
    color: #9ca3af;
    font-size: 10px;
    line-height: 1.55;
    text-align: center;
}

@media (max-width: 430px) {
    .collect-inline-grid,
    .collect-profile-actions,
    .collect-result-actions {
        grid-template-columns: 1fr;
    }

    .collect-profile-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .collect-profile-select {
        width: 100%;
    }

    .collect-qr-container {
        min-height: 240px;
    }
}
