PozoApp-retail-designChanges/src/Styles/BookingScreen/Components/BSItemCards/BSItemCard.scss

2267 lines
39 KiB
SCSS

.bs-item-card-masterdiv {
padding: 0rem 0rem;
overflow: auto;
// height: 80vh;
height: inherit;
@media (max-width: 768px) {
padding-bottom: 35rem !important;
}
.voiceToTextIcon {
top: 10px;
}
}
.Qty-table,
.Qty-td,
.Qty-th {
border: 1px solid black;
}
.Qty-table {
width: 43vw;
border-collapse: collapse;
}
.Qty-table1 {
width: 29vw;
border-collapse: collapse;
}
.Qty-th {
text-align: center;
}
.Qty-td {
text-align: center;
}
// .BSCategory5-Cardcont .bs-item-card-masterdiv {
// height: 93vh;
// }
.BSItemCard-master-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding: 0rem 6px;
column-gap: 0.3rem;
gap: 4px;
row-gap: 18px;
justify-content: flex-start;
margin-top: 2px;
// padding: 0rem 0.5rem;
padding-bottom: 20rem;
overflow: scroll;
height: 100%;
}
.BSItemCard-container {
width: 9rem;
position: relative;
}
.BSItemCard-container:hover {
width: 9rem;
transform: scale(1.05) !important;
position: relative;
transition-duration: 0.1s;
}
.BSItemCard-containers-mobile {
width: 9rem;
position: relative;
}
.BSItemCard-image {
width: 100%;
cursor: pointer;
transition-duration: 0.2s;
height: 6rem !important;
}
.BSItemCard-content {
padding: 1px 0;
background-color: rgba(255, 255, 255, 0.8);
position: absolute;
display: flex;
// flex-wrap: wrap;
column-gap: 0.5rem;
justify-content: center;
cursor: pointer;
// top: 50px;
bottom: 0px;
// bottom: 12px;
left: 0;
right: 0;
}
.BSItemCard-itemName {
text-align: center;
//naresh27
font-size: 12px;
font-weight: 500;
max-width: 130px;
// font-family: "Gilroy";
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
// max-width: 100px;
}
.BSItemCard-itemPrice {
// width: 100%;
color: #52c41a;
font-size: 14px;
font-weight: 600;
font-family: "Gilroy";
// nk
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 105px;
}
.BSItemCard-badge {
position: absolute;
top: 0;
right: 0;
}
.BSItemCard-badge-withoutimage {
position: absolute;
// naresh
top: 0px;
right: 0;
}
.BSItemCard-content-withoutimage {
padding: 20px 5px;
background-color: rgba(255, 255, 255, 0.8);
position: absolute;
display: flex;
justify-content: center;
column-gap: 0.5rem;
bottom: 0;
left: 0;
right: 0;
}
.BSItemCard-image-smallimage {
width: 3.5rem;
height: max-content;
border-radius: 3px;
}
.BSItemCard-content-smallimage {
width: max-content;
padding: 5px 0;
// background-color: rgba(255, 255, 255, 0.7);
display: flex;
flex-direction: column;
column-gap: 0.5rem;
justify-content: center;
bottom: 0;
left: 0;
right: 0;
cursor: pointer;
}
.BSItemCard-container-smallimage {
width: 11rem;
position: relative;
display: flex;
flex-direction: row;
column-gap: 0.3rem;
row-gap: 0.5rem;
cursor: pointer;
// vicky
justify-content: space-around;
// height: 62px;
// padding: 5px;
// border-radius: 3px;
// align-items: center;
// justify-content: center;
// padding: 5px;
}
.BSItemCard-containers-smallimage-mobile {
width: 11rem;
position: relative;
display: flex;
flex-direction: row;
column-gap: 0.4rem;
row-gap: 0.5rem;
cursor: pointer;
// height: 62px;
// padding: 5px;
// border-radius: 3px;
// align-items: center;
// justify-content: center;
// padding: 5px;
}
.BSItemCard-content-small-screem {
background-color: transparent;
}
.BrandDetail {
display: flex;
flex-direction: row;
flex-wrap: wrap;
column-gap: 1rem;
row-gap: 1rem;
padding: 0.5rem;
}
.Brand-Card {
display: flex;
flex-direction: column;
row-gap: 1rem;
}
@media (min-width: 280px) and (max-width: 499px) {
.ItemWiseReport-heading {
display: flex;
align-items: flex-start;
// width: 13.5rem;
align-items: center;
}
.ItemWiseReport-dateaAnd-buttons {
flex-wrap: wrap;
}
.ItemWiseReport-search {
justify-content: start !important;
}
.ItemWiseReport-table .ant-table table th,
tr,
td {
font-size: 14px !important;
}
// .ant-picker-dropdown {
// width: 99%;
// }
.other-submitbtn {
justify-content: flex-start !important;
padding: 1rem 0;
}
.configMsrMainDiv .ant-select-selection-search-input {
width: 75% !important;
}
.other-bill-footer p {
font-size: 12px;
font-weight: 600;
}
.other-bill-footer {
gap: 1rem !important;
display: flex;
flex-direction: row;
}
.configMsrSubDiv {
column-gap: 0.5rem !important;
}
// naresh tha sonna cmd panna 4/4/2024
// .cat-Size .ant-input-affix-wrapper {
// width: 42% !important;
// }
.ant-modal .ant-modal-content {
padding: 1rem !important;
}
.cat-Quantity .example {
width: 30vw !important;
}
.BSItemCard-content {
flex-direction: column;
}
.CategoryHorizontal-sub-samplecard {
padding: 0 auto !important;
}
.CategoryHorizontal-sub-samplecard p {
font-size: 13px;
font-weight: 600;
}
.BSItemCard-content-smallimage {
height: 4rem !important;
}
.BSItemCard-itemPrice {
font-size: 9px !important;
//nk
width: 60px !important;
//
}
//nk
.qtyUomName-itemCard {
width: 78px !important;
}
//
.SubCategoryVertical-text {
font-size: 11px !important;
font-weight: 600;
}
.SubCategoryVertical-sub-samplecard {
padding: 0;
}
.BSItemCard-containers-smallimage-mobile {
padding: 0 !important;
width: 7rem;
column-gap: 0.3rem !important;
justify-content: center;
border-radius: 5px;
}
.BSItemCard-image-smallimage {
width: 2rem;
height: 2rem !important;
}
.SubCategoryVertical-scroll-container {
width: 89% !important;
}
.SubCategoryVertical {
align-items: flex-start;
width: 90px !important;
}
.BSItemCard-master-container {
padding: 0px 0px;
justify-content: center !important;
// padding-bottom: 10rem !important;
padding-bottom: 1rem !important;
// column-gap: 0.1rem !important;
}
.BSItemCard-container {
width: 7.5rem !important;
justify-content: center !important;
}
.BSItemCard-containers-mobile {
width: 6rem !important;
}
// .BSItemCard-image{
// width: 9rem !important;
// height: 8rem !important;
// }
.BSItemCard-content-small-screem {
width: 8rem !important;
height: 6rem !important;
}
// .BSItemCard-container-smallimage{
// width: 7rem !important;
// opacity: 12%;
// }
// .BSItemCard-itemName{
// width: 3rem !important;
// }
.BSItemCard-itemName {
width: 60px !important;
font-size: 10px;
margin: auto !important;
text-align: center !important;
}
.bs-item-card-masterdiv {
// height: 64vh !important;
height: inherit;
}
// .BSCategory5-Cardcont .bs-item-card-masterdiv {
// height: 98vh !important;
// }
}
@media (min-width: 500px) and (max-width: 767px) {
.bs-item-card-masterdiv {
// height: 77vh !important;
height: inherit;
}
.BSItemCard-master-container {
column-gap: 1.5rem !important;
justify-content: center;
padding-bottom: 33rem !important;
margin-top: 3px;
}
}
@media (min-width: 280px) and (max-width: 499px) {
.bs-item-card-masterdiv {
// height: 60vh !important;
height: inherit;
}
.BSItemCard-master-container {
column-gap: 0.5rem !important;
justify-content: flex-start;
margin-top: 3px;
}
}
@media only screen and (max-width: 1000px) {
// .BSItemCard-itemName{
// max-width: 70px ;
// }
}
.QRStockchange-table thead {
position: sticky;
top: 0;
background-color: #bad4f9;
z-index: 1;
}
.QRStockchange-table .ant-table table {
border-spacing: 0px;
}
.QRStockchange-table .ant-table-wrapper .ant-table-thead > tr > th {
color: black !important;
font-weight: 600 !important;
font-size: 14px;
}
.QRStockchange-table {
height: 400px;
overflow: scroll;
}
.QRStockchange-table .ant-pagination {
position: sticky;
bottom: 0;
margin: 0 !important;
padding: 0.5rem;
background-color: #fafafa;
}
.BkPrdCardDeActive {
// pointer-events: none;
border: 1.5px solid red;
// border-radius: 8px;
}
.Card-modal-table .ant-table table {
border-spacing: 0px;
}
.Card-modal-table thead {
position: sticky;
top: 0;
background-color: #bad4f9;
z-index: 1;
}
.Card-modal-table {
// width:100%;
height: 59vh;
overflow: auto;
justify-content: flex-start;
// display: flex;
// flex-wrap: wrap;
// flex-direction: row;
padding: 1.8rem 0.5rem;
column-gap: 0.5rem;
row-gap: 1rem;
}
.Brand-Card-modal-table {
// width:100%;
height: 43vh;
overflow: auto;
justify-content: flex-start;
// display: flex;
// flex-wrap: wrap;
// flex-direction: row;
padding: 1.8rem 0.5rem;
column-gap: 0.5rem;
row-gap: 1rem;
// border:0.5px solid black;
// border-radius: 5px;
}
.Brand-Card-modal-table::-webkit-scrollbar {
width: 10px !important;
}
/* Track */
.Brand-Card-modal-table::-webkit-scrollbar-track {
background: #f1f1f1;
}
/* Handle */
.Brand-Card-modal-table::-webkit-scrollbar-thumb {
background: #888;
}
/* Handle on hover */
.Brand-Card-modal-table::-webkit-scrollbar-thumb:hover {
background: #555;
}
.ItemQtyCard {
display: flex;
justify-content: center;
flex-direction: column;
// align-items: center;
justify-content: center;
border: solid 1px #e4e4e4;
background-color: #f3f3f3;
// width: 100px;
// height: 190px;
// background-color: #b87373;
// color: #fff;
transition-duration: 0.3s;
// padding: 0.5rem;
border-radius: 6px;
}
.ItemQtyCard-disabled {
display: flex;
justify-content: center;
flex-direction: column;
// align-items: center;
justify-content: center;
border: solid 1px #e4e4e4;
background-color: #f3f3f3;
// width: 100px;
// height: 190px;
// background-color: #b87373;
// color: #fff;
transition-duration: 0.3s;
// padding: 0.5rem;
border-radius: 6px;
opacity: 0.5;
pointer-events: none;
}
.ItemQtyImgCard {
// transform: scale(1);
display: flex;
align-items: center;
justify-content: center;
}
.ItemQtyCard:hover {
transition-duration: 0.3s;
transform: scale(1.02);
// background-color: wheat;
border: solid 1px #f3f3f3;
// padding: 0.6rem 0.5rem;
box-shadow: var(--BOX_SHADOW_LEVEL1);
// background-color: #e3ffe9;
cursor: pointer;
.qtyprice {
font-size: 16px;
background-color: var(--SELECTED_COLOR);
}
}
.qtyDetail {
display: flex;
flex-direction: column;
justify-content: center;
column-gap: 0.1rem;
border-radius: 2px;
}
.qtyUomName {
font-size: 15px;
font-weight: 600;
font-family: "Gilroy";
text-align: center;
}
//nk
.qtyUomName-itemCard {
font-size: 15px;
font-weight: 600;
font-family: "Gilroy";
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 105px;
}
.qtyprice {
font-size: 16px;
background-color: var(--DEFAULT_SELECTED_COLOR);
color: #fff;
// padding: 0rem 2rem;
width: 105px;
display: flex;
font-family: var(--PARA_FONT_FAMILY);
justify-content: center;
text-align: center;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}
.Card-modal-table .ant-pagination {
position: sticky;
bottom: 0;
margin: 0 !important;
padding: 0.5rem;
background-color: #fafafa;
}
.Card-modal-table .ant-table-wrapper .ant-table-thead > tr > th {
color: black !important;
font-weight: 600 !important;
font-size: 14px;
}
.Card-modal-table .ant-table-row > td {
color: black !important;
font-weight: 500 !important;
font-size: 16px;
}
.fond {
position: absolute;
padding-top: 85px;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.contener_general {
-webkit-animation: animball_two 1s infinite;
-moz-animation: animball_two 1s infinite;
-ms-animation: animball_two 1s infinite;
animation: animball_two 1s infinite;
width: 44px;
height: 44px;
}
.contener_mixte {
width: 44px;
height: 44px;
position: absolute;
}
.ballcolor {
width: 20px;
height: 20px;
border-radius: 50%;
}
.ball_1,
.ball_2,
.ball_3,
.ball_4 {
position: absolute;
-webkit-animation: animball_one 1s infinite ease;
-moz-animation: animball_one 1s infinite ease;
-ms-animation: animball_one 1s infinite ease;
animation: animball_one 1s infinite ease;
}
.ball_1 {
background-color: #cb2025;
top: 0;
left: 0;
}
.ball_2 {
background-color: #f8b334;
top: 0;
left: 24px;
}
.ball_3 {
background-color: #00a096;
top: 24px;
left: 0;
}
.ball_4 {
background-color: #97bf0d;
top: 24px;
left: 24px;
}
@-webkit-keyframes animball_one {
0% {
position: absolute;
}
50% {
top: 12px;
left: 12px;
position: absolute;
opacity: 0.5;
}
100% {
position: absolute;
}
}
@-moz-keyframes animball_one {
0% {
position: absolute;
}
50% {
top: 12px;
left: 12px;
position: absolute;
opacity: 0.5;
}
100% {
position: absolute;
}
}
@-ms-keyframes animball_one {
0% {
position: absolute;
}
50% {
top: 12px;
left: 12px;
position: absolute;
opacity: 0.5;
}
100% {
position: absolute;
}
}
@keyframes animball_one {
0% {
position: absolute;
}
50% {
top: 12px;
left: 12px;
position: absolute;
opacity: 0.5;
}
100% {
position: absolute;
}
}
@-webkit-keyframes animball_two {
0% {
-webkit-transform: rotate(0deg) scale(1);
}
50% {
-webkit-transform: rotate(360deg) scale(1.3);
}
100% {
-webkit-transform: rotate(720deg) scale(1);
}
}
@-moz-keyframes animball_two {
0% {
-moz-transform: rotate(0deg) scale(1);
}
50% {
-moz-transform: rotate(360deg) scale(1.3);
}
100% {
-moz-transform: rotate(720deg) scale(1);
}
}
@-ms-keyframes animball_two {
0% {
-ms-transform: rotate(0deg) scale(1);
}
50% {
-ms-transform: rotate(360deg) scale(1.3);
}
100% {
-ms-transform: rotate(720deg) scale(1);
}
}
@keyframes animball_two {
0% {
transform: rotate(0deg) scale(1);
}
50% {
transform: rotate(360deg) scale(1.3);
}
100% {
transform: rotate(720deg) scale(1);
}
}
.NodataFound {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 50vh;
width: 50vw;
position: fixed;
top: 30%;
left: 10%;
overflow: hidden;
}
.NodataFound5 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 50vh;
width: 50vw;
position: fixed;
top: 30%;
left: 40%;
overflow: hidden;
}
.no-animation {
transition: none !important;
}
.Payment-loader1 {
position: fixed;
display: flex;
justify-content: center;
align-items: center;
backdrop-filter: blur(10px);
width: 100%;
height: 100%;
z-index: 1500;
top: 0;
left: 0;
}
.Payment-loader {
position: absolute;
display: flex;
flex-direction: column;
padding: 2rem 2rem;
justify-content: center;
row-gap: 1rem;
align-items: center;
border-radius: 16px;
background-color: #fff;
filter: brightness(1);
z-index: 100;
height: 10rem;
}
.Payment-loader1 {
.Payment-loader {
// column-gap: 1rem;
.contener_mixte {
top: 5px;
right: 12rem;
}
}
}
.EditQuantity-Master {
.Re-Print-table {
width: 100% !important;
}
}
.webkit-ul {
height: 35vh;
overflow-y: auto;
/* Firefox */
scrollbar-width: thin;
/* Options: auto | thin | none */
scrollbar-color: #c1c1c1 transparent;
}
/* WebKit Browsers: Chrome, Edge, Safari */
.webkit-ul::-webkit-scrollbar {
width: 25px;
/* Adjust width as needed */
}
.webkit-ul::-webkit-scrollbar-track {
background: #f0f0f0;
/* Optional: add contrast to track */
border-radius: 10px;
}
.webkit-ul::-webkit-scrollbar-thumb {
background-color: #c1c1c1;
border-radius: 10px;
border: 6px solid transparent;
/* Adjust for padding inside thumb */
background-clip: content-box;
transition: background-color 0.3s ease;
}
.webkit-ul::-webkit-scrollbar-thumb:hover {
background-color: #a0a0a0;
}
.onepieceMain {
position: absolute;
bottom: 2px;
right: 2px;
padding: 3px 5px;
border-radius: 4px;
font-size: 0.6rem;
font-weight: bold;
}
/////////////////////////////////////
.card4Main {
height: 270px;
width: 195px;
background-color: #fff;
border-radius: 0.75rem;
display: flex;
flex-direction: column;
justify-content: space-between;
margin-top: 10px;
position: relative;
@media (max-width: 768px) {
height: 190px;
width: 150px;
margin-top: 4px;
}
@media (max-width: 500px) {
height: 190px;
width: 100%;
margin-top: 4px;
}
.card4Img {
width: 195px;
height: 165px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
@media (max-width: 768px) {
width: 150px;
height: 150px;
}
@media (max-width: 500px) {
width: 180px;
height: 150px;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 0.75rem 0.75rem 0px 0px;
}
}
.Card4datas {
display: flex;
align-items: flex-start;
flex-direction: column;
gap: 0.5rem;
padding: 1rem;
font-family: "Inter", sans-serif;
letter-spacing: -0.5px;
@media (max-width: 500px) {
padding: 0.7rem;
}
}
.card4ProductName {
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 500;
color: #1f2937;
font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
@media (max-width: 500px) {
font-size: 0.7rem;
}
}
.card4PriceUom {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
font-weight: 500;
font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}
.card4Price {
font-size: 1.125rem;
line-height: 1.25rem;
font-weight: 600;
color: #059669;
-webkit-text-stroke-width: 0.3px;
@media (max-width: 500px) {
font-size: 1rem;
}
}
.card4Uom {
background-color: #f3f4f6;
color: #6b7280;
font-size: 0.75rem;
line-height: 1rem;
padding: 0.375rem 0.75rem;
font-weight: 500;
border-radius: 50px;
font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}
}
.card4Main {
transition:
transform 0.4s ease,
box-shadow 0.4s ease;
&:hover {
transform: scale(1.01);
box-shadow:
0 20px 25px -5px rgb(0 0 0 / 0.1),
0 8px 10px -6px rgb(0 0 0 / 0.1);
.card4Img img {
transform: translateY(-0.2rem);
transition: transform 0.3s ease;
}
.card4ProductName {
color: #2563eb;
transition: color 0.2s ease;
}
}
.card4Img img {
transition: transform 0.3s ease;
}
}
.CategoryHorizontalNewcontainer {
display: flex;
align-items: flex-start;
justify-content: flex-start;
gap: 1.7rem !important;
overflow: scroll;
height: 100%;
@media (max-width: 500px) {
gap: 0.5rem !important;
align-items: center;
justify-content: center;
grid-template-columns: 1fr 1fr;
display: grid !important;
padding: 0 16px;
}
}
.card4Main-onepiece {
position: absolute;
top: 2px;
right: 2px;
font-size: 10px;
padding: 2px 6px;
border-radius: 4px;
}
.VarientButtons {
display: grid !important;
grid-template-columns: 1fr 1fr 1fr;
align-items: flex-start;
justify-content: space-between;
margin-top: 2rem;
gap: 10px;
flex-wrap: wrap;
cursor: not-allowed !important;
button {
padding: 8px 16px;
border-radius: 6px;
font-size: 12px;
font-weight: 400;
background-color: #2563eb;
color: #ffffff;
border: none;
cursor: pointer;
transition:
background-color 0.2s ease,
color 0.2s ease;
font-family: "Poppins", sans-serif;
&:hover {
background-color: #dce7ff;
color: #000000;
}
}
}
.slot-btn {
width: 98% !important;
padding: 10px;
border: none;
border-radius: 10px;
text-align: center;
font-size: 14px;
transition: all 0.3s ease;
height: 60px;
}
.slot-btn.available {
background-color: #3793f5;
color: #ffffff;
width: 120px;
}
.slot-btn.available:hover {
background-color: #ffffd6;
border: 1px solid #7ab6f7;
}
.slot-btn.booked {
background-color: #b3b2b2;
/* full gray */
color: #000000;
cursor: not-allowed !important;
pointer-events: none;
display: flex;
flex-direction: column;
width: 120px;
padding: 10px;
height: 60px;
/* 🔥 ensures click disabled, no collapse */
}
.booked-text {
// color: #070;
color: rgb(241, 16, 16);
font-weight: 600;
cursor: not-allowed !important;
margin-top: 4px;
}
// .Available-text{
// color: rgb(41, 201, 41);
// font-weight: 600;
// cursor: not-allowed !important;
// margin-top: 4px;
// }
.slot-btn.incart {
background: #ffe066;
color: #222;
cursor: not-allowed;
font-weight: 600;
flex-direction: column;
height: 60px !important;
width: 120px;
}
//Slot Display css
.Slot-status {
display: flex;
flex-wrap: wrap;
flex-direction: row;
column-gap: 1rem;
row-gap: 0.5rem;
// position: fixed;
// bottom: 10px;
font-family: "Poppins";
font-size: 14px;
color: #000;
font-weight: 400;
margin-top: 1rem;
}
.Slot-status-div {
column-gap: 0.5rem;
display: flex;
flex-direction: row;
}
.available {
padding: 0rem 0.5rem;
background-color: #3793f5;
border: solid 1px #3793f5;
border-radius: 50%;
}
.IsinCart {
padding: 0rem 0.5rem;
background-color: #ffe066;
border-radius: 50%;
border: solid 1px #ffe066;
}
.booked {
padding: 0rem 0.5rem;
background-color: #b3b2b2;
border-radius: 5%;
border: solid 1px #b3b2b2;
}
.Single {
padding: 0rem 0.5rem;
background-color: #2563eb;
border-radius: 50%;
border: solid 1px #2563eb;
}
.selection {
padding: 0rem 0.5rem;
background-color: #4caf50;
border-radius: 50%;
border: solid 1px #4caf50;
}
.bsbookingGame {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
margin-bottom: 1rem;
}
.corner-selection-btn {
width: max-content;
padding: 8px 12px;
background-color: #8f1e78;
color: #fff;
font-size: 16px;
font-weight: 400;
font-family: "Poppins";
display: flex;
align-items: center;
gap: 4px;
border-radius: 4px;
border: none;
svg {
display: flex;
}
&.active {
background-color: #ff1f1f;
}
}
.slot-item {
display: flex;
gap: 8px;
align-items: flex-start;
position: relative;
.slot-checkbox {
width: 18px;
height: 18px;
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
}
.selection-submit-btn {
width: max-content;
padding: 8px 10px;
height: max-content;
margin-bottom: 1rem;
border: none;
background-color: #4caf50;
color: #fff;
font-size: 14px;
font-family: "Poppins";
border-radius: 6px;
cursor: pointer;
}
.bulk-slot-grid {
width: 100%;
padding: 20px;
border: 1px solid #cfcfcf;
overflow: auto;
border-radius: 2px 8px 8px 8px;
}
.blukSlotTbody {
font-family: "Poppins", sans-serif;
text-align: center;
}
.date-row {
border-bottom: 1px solid #e5e7eb;
background-color: #fafafa;
transition: background 0.3s ease;
}
.date-row:hover {
background-color: #f1f5f9;
}
.date-cell {
font-weight: 600;
color: #374151;
padding: 10px 12px;
background-color: #f3f4f6;
border-right: 1px solid #e5e7eb;
width: 100px;
}
.slot-cell {
padding: 10px 8px;
border-right: 1px solid #e5e7eb;
position: relative;
vertical-align: middle;
width: 110px;
border-radius: 6px;
}
.slot-cell:last-child {
border-right: none;
}
.slot-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
transition: transform 0.2s ease;
}
.slot-cell:hover .slot-content {
transform: scale(1.04);
}
/* Status color themes */
.slot-cell.available {
background: #ecfdf5;
}
.slot-cell.partial {
background: #fff7ed;
}
.slot-cell.booked {
background: #fee2e2;
color: #991b1b;
}
.slot-cell.incart {
background: #e0f2fe;
}
.slot-cell.no-slot {
color: #9ca3af;
background: #f9fafb;
}
.slot-checkbox {
transform: scale(1.2);
accent-color: #3793f5;
cursor: pointer;
}
.slot-checkbox:disabled {
cursor: not-allowed;
opacity: 0.6;
}
.slot-info {
display: flex;
flex-direction: column;
align-items: center;
}
.slot-price {
font-weight: 500;
font-family: "Poppins";
font-size: 0.8rem;
> div:nth-child(1) {
font-size: 0.8rem;
font-weight: 600;
}
}
.slot-status {
font-size: 0.8rem;
color: #6b7280;
background: #f3f4f6;
padding: 2px 8px;
border-radius: 12px;
margin-top: 2px;
}
.selection-indicator {
color: #fff;
background: #3793f5;
font-size: 0.8rem;
padding: 3px 6px;
border-radius: 12px;
margin-top: 4px;
animation: fadeIn 0.3s ease;
}
/* Highlight selected cell */
.slot-cell.selected {
outline: 2px solid #3793f5;
background: #ddedff;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
.bookingModalBulk {
min-width: max-content !important;
max-width: 90vw !important;
font-family: "Poppins" !important;
.ant-modal-content {
padding: 24px !important;
height: 93vh !important;
}
.ant-modal-close {
right: 3px !important;
top: 3px !important;
}
}
.bulk-slot-table {
min-width: 60vw;
overflow: auto;
max-width: 90vw;
@media (max-width: 600px) {
max-width: 83vw;
}
}
.bulk-submit-btn {
width: 100%;
display: flex;
justify-content: flex-end;
margin: 1rem 0;
button {
width: max-content;
height: max-content;
padding: 9px 16px;
font-family: "Poppins", sans-serif;
font-size: 14px;
font-weight: 400;
border-radius: 6px;
cursor: pointer;
border: none;
background-color: #158a15;
color: #fff;
}
}
.SportsSlotHeader {
width: 100%;
justify-content: space-between;
align-items: center;
display: flex;
padding: 2px 5px;
@media (max-width: 768px) {
flex-wrap: wrap;
gap: 6px;
}
}
.SportsSlotHeader1 {
gap: 10px;
align-items: center;
display: flex;
font-size: 18px;
font-family: "Poppins";
font-weight: 500;
.CiShopIcon {
display: none;
}
img {
width: 65px;
height: 65px;
border-radius: 50pc;
object-fit: cover;
}
p {
font-family: "Poppins";
font-weight: 400;
font-size: 16px;
}
}
.SportsSlotHeader2 {
gap: 10px;
align-items: center;
display: flex;
}
.sportsubHeader {
display: flex;
justify-content: flex-start;
align-items: center;
margin: 10px 0px;
background: #ffffff;
margin-bottom: 8px;
gap: 2rem;
@media (max-width: 600px) {
flex-wrap: wrap;
gap: 10px;
}
}
.sports-slot-toggle {
display: flex;
background: #f8f9fa;
border-radius: 6px;
border: 1px solid #dee2e6;
}
.sports-toggle-btn {
padding: 7px 16px;
border: none;
border-radius: 4px;
background: transparent;
color: #6c757d;
font-size: 14px;
font-weight: 400;
cursor: pointer;
transition: all 0.2s ease;
min-width: 90px;
font-family: "Poppins", sans-serif;
&:hover {
background: rgba(13, 110, 253, 0.1);
color: #0d6efd;
}
&.active {
background: #0d6efd;
color: #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
}
.SlideSlotMain {
gap: 1rem;
grid-template-columns: 1fr 1fr;
display: grid;
flex: 1;
}
.slotSectionMain {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
padding: 0;
background: #f8f9fa;
border-radius: 8px;
margin: 12px 0;
height: 100%;
width: 100%;
}
.SlotSlideBTN {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background: #0d6efd;
color: #fff;
border-radius: 50%;
cursor: pointer;
transition: all 0.2s ease;
font-size: 18px;
&:hover {
background: #0b5ed7;
transform: scale(1.05);
}
&.disabled {
background: #dee2e6;
color: #6c757d;
cursor: not-allowed;
transform: none;
&:hover {
background: #dee2e6;
transform: none;
}
}
}
.SlideSlotMain {
display: flex;
gap: 12px;
min-width: 300px;
justify-content: center;
@media (max-width: 600px) {
min-width: 280px;
}
}
.bookingSportSlot {
padding: 12px 24px;
background: #fff;
border: 1px solid #e9ecef;
border-radius: 8px;
font-weight: 400;
color: #495057;
min-width: 120px;
text-align: center;
font-family: "Poppins", sans-serif;
width: 100%;
transition: all 0.3s;
scrollbar-width: thin;
overflow: auto;
height: 50vh;
&:hover {
border-color: #3793f5;
}
@media (max-width: 600px) {
padding: 2px 2px;
}
}
.slotproductName {
width: 100%;
flex-direction: column;
align-items: flex-start;
display: flex;
gap: 4px;
&.hide {
display: none !important;
}
}
.slotGroundName {
font-weight: 500;
font-size: 14px;
color: #000;
}
.slot-date-header {
font-weight: 500;
font-size: 14px;
color: #000;
margin-top: 0.5rem;
}
.slotTimingSelectMain {
display: flex;
flex-wrap: wrap;
gap: 10px;
@media (max-width: 600px) {
gap: 4px;
justify-content: space-between;
width: 100%;
}
}
.slotTimingSelect {
padding: 8px 8px;
border-radius: 6px;
cursor: pointer;
border: 1px solid #ddd;
text-align: center;
width: 145px;
height: 95px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
@media (max-width: 600px) {
width: 130px;
height: 95px;
}
&.available {
background-color: #008000;
color: #fff;
border-color: #4caf50;
}
&.booked {
background-color: #f02626f3;
color: #ffffff;
border-color: #f44336;
cursor: not-allowed;
}
&.incart {
background-color: #e3f2fd;
color: #1565c0;
border-color: #2196f3;
}
&.partial {
background-color: #ffe8bf;
color: #5f4204;
border-color: #ff9800;
}
&.blocked {
background-color: #1292ee;
color: #ffffff;
border-color: #31a0f0;
cursor: not-allowed;
}
&.selected {
color: #ffffff;
background-color: #9e1c60;
}
&.hide {
display: none;
}
}
// Slot status legend styles
.Slot-status {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin: 1rem 0;
padding: 0.5rem;
.Slot-status-div {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 12px;
span {
width: 16px;
height: 16px;
border-radius: 4px;
border: 1px solid #ddd;
&.available {
background-color: #008000 !important;
}
&.booked {
background-color: #f44336 !important;
}
&.IsinCart {
background-color: #1292ee;
}
&.Single {
background-color: #ffe8bf;
border-color: #ff9800;
}
&.selected-indicator {
background-color: #9e1c60;
border-color: #70ce97;
}
}
}
}
.slot-header {
font-size: 12px;
font-weight: 500;
}
.slotBTNquantity {
display: flex;
align-items: center;
gap: 4px;
font-size: 12px;
justify-content: space-between;
font-weight: 400;
width: 100%;
Button:disabled,
Button[disabled] {
width: max-content;
height: max-content;
border-radius: 10pc;
border: none;
outline: none;
color: #fff;
font-size: 18px;
background-color: #d4d4d4;
color: #000000;
border:
1px,
solid #a1a1a1;
padding: 1px;
opacity: 0.5;
}
}
.slotBTNquantity-decrease,
.slotBTNquantity-increase {
width: max-content;
height: max-content;
border-radius: 10pc;
border: none;
outline: none;
color: #fff;
font-size: 18px;
background-color: #ffffff;
color: #000000;
border:
1px,
solid #a1a1a1;
padding: 1px;
svg {
display: flex;
color: #000 !important;
opacity: 1 !important;
}
}
.slotBTNquantity-decrease {
background-color: #ffffff;
color: #000000;
border:
1px,
solid #a1a1a1;
padding: 1px;
}
.slot-booked {
background-color: #fff;
color: #000000;
padding: 1px 4px;
cursor: pointer;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
border-radius: 5px;
font-size: 12px;
font-weight: 600;
}
// Booked Slot Details Modal Styles
.booked-slot-details-modal {
.ant-modal-content {
border-radius: 12px;
overflow: hidden;
padding: 10px;
}
.ant-modal-close {
top: 16px;
right: 16px;
}
}
.booked-details-container {
padding: 8px;
font-family: "Poppins", sans-serif;
.booked-details-title {
font-size: 24px;
font-weight: 600;
color: #1f2937;
margin-bottom: 20px;
border-bottom: 2px solid #3793f5;
padding-bottom: 10px;
}
.booked-slot-info {
background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
border-radius: 10px;
padding: 8px 20px;
margin-bottom: 24px;
border: 1px solid #cadbff;
.info-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 0;
border-bottom: 1px solid #d8e4ff;
&:last-child {
border-bottom: none;
}
.info-label {
font-weight: 500;
color: #6b7280;
font-size: 14px;
}
.info-value {
font-weight: 600;
color: #1f2937;
font-size: 14px;
&.status-badge {
background: #3793f5;
color: white;
padding: 4px 12px;
border-radius: 20px;
font-size: 12px;
}
}
}
}
.customer-details-title {
font-size: 18px;
font-weight: 600;
color: #1f2937;
margin-bottom: 16px;
}
.customer-table-wrapper {
overflow-x: auto;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.customer-details-table {
width: 100%;
border-collapse: collapse;
background: white;
thead {
background: linear-gradient(135deg, #3793f5 0%, #2563eb 100%);
tr th {
padding: 4px 16px;
text-align: left;
font-weight: 500;
font-size: 14px;
color: white;
text-transform: uppercase;
letter-spacing: 0.5px;
&:last-child {
text-align: center;
}
}
}
tbody {
tr {
border-bottom: 1px solid #e5e7eb;
transition: background-color 0.2s ease;
&:hover {
background-color: #f9fafb;
}
&:last-child {
border-bottom: none;
}
td {
padding: 6px 16px;
font-size: 14px;
color: #374151;
&.action-buttons {
text-align: center;
display: flex;
gap: 8px;
justify-content: center;
.end-btn,
.start-btn {
justify-content: center;
width: max-content;
}
}
}
}
}
.start-btn,
.end-btn {
padding: 6px 16px;
height: max-content;
border: none;
border-radius: 6px;
font-size: 13px;
font-weight: 400;
cursor: pointer;
transition: all 0.3s ease;
font-family: "Poppins", sans-serif;
min-width: 70px;
&:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
}
}
.start-btn {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: white;
box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
&:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
}
&:active:not(:disabled) {
transform: translateY(0);
}
}
.end-btn {
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
color: white;
box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
&:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}
&:active:not(:disabled) {
transform: translateY(0);
}
}
.show-all-btn {
background: linear-gradient(135deg, #3793f5 0%, #2563eb 100%);
color: white;
padding: 8px 16px;
border: none;
border-radius: 6px;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
font-family: "Poppins", sans-serif;
min-width: 120px;
box-shadow: 0 2px 4px rgba(55, 147, 245, 0.3);
&:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(55, 147, 245, 0.4);
}
&:active {
transform: translateY(0);
}
}
}
}
// All Bookings Modal Styles
.all-bookings-modal {
.ant-modal-content {
border-radius: 12px;
overflow: hidden;
}
}
.all-bookings-container {
padding: 8px;
font-family: "Poppins", sans-serif;
.all-bookings-title {
font-size: 22px;
font-weight: 600;
color: #1f2937;
margin-bottom: 8px;
}
.customer-mobile {
font-size: 14px;
color: #6b7280;
margin-bottom: 20px;
}
.bookings-table-wrapper {
overflow-x: auto;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.bookings-details-table {
width: 100%;
border-collapse: collapse;
background: white;
thead {
background: linear-gradient(135deg, #3793f5 0%, #2563eb 100%);
tr th {
padding: 4px 16px;
text-align: left;
font-weight: 600;
font-size: 13px;
color: white;
text-transform: uppercase;
letter-spacing: 0.5px;
&:last-child {
text-align: center;
}
}
}
tbody {
tr {
border-bottom: 1px solid #e5e7eb;
transition: background-color 0.2s ease;
&:hover {
background-color: #f9fafb;
}
&:last-child {
border-bottom: none;
}
td {
padding: 6px 16px;
font-size: 13px;
color: #374151;
&.action-buttons {
text-align: center;
display: flex;
gap: 8px;
justify-content: center;
.end-btn,
.start-btn {
justify-content: center;
width: max-content;
}
}
}
}
}
.start-btn,
.end-btn {
padding: 6px 16px;
height: max-content;
border: none;
border-radius: 6px;
font-size: 12px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
font-family: "Poppins", sans-serif;
min-width: 60px;
&:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
}
}
.start-btn {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: white;
box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
&:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
}
&:active:not(:disabled) {
transform: translateY(0);
}
}
.end-btn {
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
color: white;
box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
&:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}
&:active:not(:disabled) {
transform: translateY(0);
}
}
}
}