.quickActionBackground{
     background-image: url('../js/components/quickAction/assets/quickActionBack.png');
       background-size: 145%;
    background-position: center 30%;
    background-repeat: no-repeat;
}


/* Main section */
.quickActionSection {
    /* display: grid;
    grid-template-columns: 0.85fr 1.5fr; */
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
    align-items: stretch;
    /* margin-top: 20px; */
    box-sizing: border-box;
    container-type: inline-size;
}

/* Manage Multiple Shops */
.quickActionBackground {
    /* background: linear-gradient(135deg, #71C212, #008A2F); */
    border-radius: 12px;
    padding: 24px;
    min-height: 190px;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
}

/* Let the action buttons panel shrink with the card instead of overflowing */
.quicActionBtns {
    width: 100%;
    min-width: 0;
}

.quickHeading {
    color: black;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
}

.quickSubHeading {
    color: #405779;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.quickBtn {
    background: linear-gradient(to bottom, #16BCD5, #079EB7);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}




.quickActionsTitle {
    color: #111c3a;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px 4px;
}

/* Two-column grid */
.quickActionsGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
}

/* Individual action card */
.quickActionCard {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 13px;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.2s ease;
}

.quickActionCard:hover {
    border-color: #71C212;
    box-shadow: 0 3px 10px rgba(0, 138, 47, 0.08);
    transform: translateY(-1px);
}

/* Icon */
.quickActionIcon {
    width: 38px;
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    line-height: 1;
}

.quickActionIcon img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Title and subtitle */
.quickActionContent {
    min-width: 0;
}

.quickActionContent h6 {
    color: #111c3a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 3px;
}

.quickActionContent p {
    color: #526789;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

/* Tablet */
@media (max-width: 992px) {
    .quickActionSection {
        grid-template-columns: 1fr;
    }

    .quickActionBackground {
        min-height: 170px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .quickActionSection {
        gap: 20px;
    }

    .quickActionsGrid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .quickActionCard {
        min-height: 68px;
        padding: 12px;
    }

    .quickHeading {
        font-size: 16px;
    }
}

/* Card-driven responsiveness: keeps the component intact when the card is
   narrow (e.g. the 3rd column in the 1400px 3-card layout). */
@container (max-width: 460px) {
    .quickActionBackground {
        padding: 20px;
        min-height: 170px;
    }

    .quickActionCard {
        gap: 10px;
        padding: 9px 11px;
    }

    .quickActionIcon {
        width: 34px;
        min-width: 34px;
        height: 34px;
        font-size: 25px;
    }

    .quickActionContent h6 {
        font-size: 13.5px;
    }

    .quickActionContent p {
        font-size: 11.5px;
    }
}

@container (max-width: 380px) {
    .quickActionsGrid {
        grid-template-columns: minmax(0, 1fr);
    }

    .quickHeading {
        font-size: 16px;
    }
}