/* ======================================== Booking Reschedule Styles ======================================== */ .bookingReschedule { height: 80vh; overflow: auto; padding-bottom: 5rem; width: 100%; &__container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 20px; } /* Header Section */ &__header { display: flex; justify-content: space-between; align-items: center; width: 100%; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; } &__viewBtn { display: flex; align-items: center; gap: 7px; padding: 8px 16px; background-color: #059645; border: none; border-radius: 8px; color: white; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 14px; height: fit-content; transition: all 0.3s ease; &:hover { background-color: #047a38; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(5, 150, 69, 0.2); } } &__searchBtn { display: flex; align-items: center; gap: 7px; padding: 8px 16px; background-color: #059645; border: none; border-radius: 8px; color: white; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 14px; height: fit-content; transition: all 0.3s ease; &:hover { background-color: #047a38; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(5, 150, 69, 0.2); } &:hover { opacity: 0.8; } p { white-space: nowrap; margin: 0; } } &__productTable { margin-top: 20px; // .table-scroll-containers { // overflow-x: auto; // } } &__sectionTitle { font-size: 18px; font-weight: 600; color: #1a1a1a; margin-bottom: 15px; } &__divider { height: 1px; background: #e0e0e0; margin: 30px 0; } &__slotSection { margin-top: 30px; } &__mainTitle { font-size: 20px; font-weight: 600; margin-bottom: 24px; color: #1a1a1a; text-align: center; } &__slotCard { background: #ffffff; border: 2px solid #e0e0e0; border-radius: 16px; padding: 24px; margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); &__header { text-align: center; margin-bottom: 20px; } &__title { font-size: 18px; font-weight: 600; color: #1a1a1a; margin: 0 0 6px 0; } &__date { font-size: 14px; color: #666; margin: 0; } } &__selectedInfo { background: #f0f7ff; border-left: 4px solid #2196f3; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; strong { color: #1565c0; font-size: 15px; } span { color: #555; font-size: 13px; } } &__slotsGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; } &__slotBtn { background: #059645; border: none; border-radius: 12px; padding: 18px 12px; color: white; cursor: pointer; transition: all 0.3s ease; text-align: center; font-family: 'Poppins', sans-serif; position: relative; overflow: hidden; height: 100px; flex-direction: column; &:hover:not(:disabled) { background: #047a38; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(5, 150, 69, 0.3); } &--booked { background: #ff4444 !important; cursor: not-allowed; height: auto !important; width: auto !important; opacity: 0.7; &:hover { background: #ff4444; transform: none; box-shadow: none; } } &--blocked { background: #2196f3 !important; cursor: not-allowed; height: auto !important; width: auto !important; opacity: 0.7; &:hover { background: #2196f3; transform: none; box-shadow: none; } } &--selected { background: #9e1c60; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4); &:hover { background: #771246; } } &--partial { background: #b07a16 !important; height: 100px !important; cursor: not-allowed; &:hover { background: #ff8c00; } } &--partialY { background: #e69807 !important; height: 100px !important; cursor: pointer; &:hover { background: #ff8c00; } } &__time { font-size: 14px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; } &__price { font-size: 16px; font-weight: 600; } &__status { font-size: 11px; font-weight: 500; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; } } &__noSlots { grid-column: 1 / -1; text-align: center; color: #999; padding: 20px; margin: 0; } &__legend { display: flex; font-family: 'Poppins', sans-serif; justify-content: center; gap: 24px; padding: 16px; background: #f8f9fa; border-radius: 10px; flex-wrap: wrap; margin-top: 20px; &__item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #333; } &__box { width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0; &--available { background: #059645; } &--booked { background: #ff4444; } &--blocked { background: #2196f3; } &--partial { background: #ffa500; } &--selected { background: #9e1c60; } } } &__submitBtn { display: flex; justify-content: flex-end; margin-top: 30px; } .bookingReschedule__slotBtn__subPrice { font-size: 12px; color: #4caf50; margin-top: 2px; } // Single PC Slot Card Style (Image Style) &__slotCardSinglePc { background: #059645; border: none; border-radius: 12px; padding: 18px 12px; color: white; text-align: center; font-family: 'Poppins', sans-serif; position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 120px; justify-content: space-between; transition: all 0.3s ease; cursor: pointer; &:hover:not(&--booked):not(&--blocked):not(&--selected) { background: #047a38; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(5, 150, 69, 0.3); } &--selected { background: #9e1c60 !important; box-shadow: 0 4px 12px rgba(158, 28, 96, 0.4) !important; &:hover { background: #771246 !important; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(119, 18, 70, 0.4) !important; } } &--booked { background: #ff4444 !important; cursor: not-allowed; opacity: 0.7; &:hover { background: #ff4444; transform: none; box-shadow: none; } } &--blocked { background: #2196f3 !important; cursor: not-allowed; opacity: 0.7; &:hover { background: #2196f3; transform: none; box-shadow: none; } } &__time { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; } &__price { font-size: 16px; font-weight: 600; margin: 4px 0; } &__controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; } &__qty { font-size: 12px; font-weight: 500; min-width: 50px; text-align: center; } &__btn { width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.3); color: white; font-size: 18px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; padding: 0; line-height: 1; &:hover:not(:disabled) { background: rgba(255, 255, 255, 0.5); transform: scale(1.1); } &:disabled { opacity: 0.5; cursor: not-allowed; } } } } @media (max-width: 768px) { .bookingReschedule { &__header { flex-direction: column; align-items: flex-start; } &__slotsGrid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; } &__slotBtn { padding: 14px 10px; &__time { font-size: 12px; } &__price { font-size: 14px; } } &__legend { gap: 16px; &__item { font-size: 12px; } &__box { width: 16px; height: 16px; } } } } @media (max-width: 480px) { .bookingReschedule { &__slotsGrid { grid-template-columns: 1fr 1fr; } &__slotCard { padding: 16px; } &__legend { flex-direction: column; align-items: flex-start; gap: 10px; } } }