.OfferList-Master { padding: 0; background: #fff; min-height: 80vh; width: 100%; margin: 0 0 0 0; overflow: auto; scrollbar-width: thin; padding-bottom: 5rem !important; border-radius: 12px; height: 85vh; .ant-table-thead .ant-table-cell { background-color: #2c88ee !important; &:hover { background-color: #2c88ee !important; } } @media (max-width: 768px) { margin: 10px 0 0 0; width: 100%; } @media (max-width: 600px) { width: 100%; padding: 0px 0; } } .OfferListModal { .ant-modal-content { padding: 18px !important; border-radius: 18px !important; } .ant-modal-title { font-size: 20px !important; } .ant-input { height: 40px !important; padding: 6px 14px 6px 11px !important; } } .breadcrumb-item { &.active { color: #000000 !important; } } .offers-card { display: flex; align-items: flex-start; // padding: 12px 10px 0 10px; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; flex-direction: row; justify-content: space-between; button { padding: 8px 16px; border: none; background: #2563ea; color: #ffffff; font-size: 13px; border-radius: 8px; cursor: pointer; font-family: "Poppins", sans-serif; @media (max-width: 600px) { padding: 8px 12px; font-size: 12px; } } > div:nth-child(1) { display: flex; align-items: center; gap: 8px; } &__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #2563ea; // Vibrant blue color border-radius: 8px; flex-shrink: 0; svg { color: #ffffff; font-size: 20px; width: 28px; height: 28px; } } &__content { flex: 1; display: flex; flex-direction: column; gap: 4px; } &__title { margin: 0; font-size: 24px; font-weight: 500; color: #000000; font-family: "Poppins", sans-serif; line-height: 1.2; letter-spacing: -0.5px; } &__subtitle { margin: 0; font-size: 14px; font-weight: 500; color: #6c6c6c; font-family: "Poppins", sans-serif; line-height: 1.4; letter-spacing: -0.5px; margin-top: 2px; } } // Tab Navigation Styles .offers-tabs { display: flex; gap: 20px; padding: 0; } .offers-tab { display: flex; align-items: center; gap: 4px; padding: 8px 8px; border-radius: 8px; cursor: pointer; background: transparent; border: none; letter-spacing: -0.5px; &:hover { background: #f1f5f9; } &.active { background: #2563ea1a; border: #2563ea71 1px solid; .offers-tab__text { color: #2563ea; font-weight: 600; } svg { color: #2563ea; } } &__icon { display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: all 0.2s ease; svg { color: #6c6c6c; // Gray icon for inactive state font-size: 14px; width: 14px; height: 14px; } } &__text { font-size: 14px; font-weight: 500; color: #6c6c6c; // Gray text for inactive state font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif; transition: all 0.2s ease; } } // Content Section Styles .offers-content { background: #ffffff; width: 49%; padding-right: 10px; // width: 550px; @media (max-width: 600px) { .form-group { margin-bottom: 10px; } } } .content-section { h2 { margin: 0 0 16px 0; font-size: 20px; font-weight: 600; color: #1f2937; font-family: "Poppins", sans-serif; } p { // margin: 0 0 16px 0; font-size: 13px; color: #000000; font-family: "Poppins", sans-serif; line-height: 1.5; } ul { margin: 0; padding-left: 20px; li { font-size: 14px; color: #6c6c6c; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif; line-height: 1.6; margin-bottom: 8px; } } } // Form Styles - Two Column Layout .form-section { display: grid; grid-template-columns: 1fr 1fr; // gap: 6px; row-gap: 16px; column-gap: 20px; align-items: start; justify-content: space-between; .ant-select-selector { height: 40px !important; border: 1px solid #565656 !important; border-radius: 8px !important; } .ant-select-selection-search { top: 10px !important; } .ant-select-selection-item { padding-inline-end: 19px !important; padding-top: 0px !important; font-size: 13px !important; } .ant-select-selection-placeholder { padding-inline-end: 19px !important; padding-top: 0px !important; font-size: 13px !important; } .ant-select .ant-select-arrow { top: 67%; right: 8px; color: #313131 !important; font-size: 13px; -webkit-text-stroke-width: 0.2px !important; } .example { width: 150px !important; } .ant-radio-label { padding: 4px 4px !important; font-size: 12.5px; font-weight: 500; font-family: "Poppins", sans-serif; } .ant-select { width: 190px !important; } .ant-radio-wrapper .ant-radio-checked .ant-radio-inner { border-color: #004ba9; background-color: #004ba9; width: 14px !important; height: 14px !important; } } .input-group { display: flex; gap: 8px; align-items: flex-start; .example { flex: 1; } } .add-button { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: #2563ea; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-family: "Poppins", sans-serif; transition: all 0.2s ease; flex-shrink: 0; font-size: 24px; // -webkit-text-stroke-width: 0.2px; font-weight: 400; outline: none; &:hover { background: #2563ea; } svg { color: #ffffff; font-size: 16px; width: 16px; height: 16px; } } .radio-group { display: flex; align-items: flex-end; gap: 10px; margin-top: 10px; .ant-radio-group { display: flex; gap: 10px; } p { margin: 0; padding-bottom: 10px; font-weight: 400; font-size: 13px; letter-spacing: -0.3px; color: #000000; font-family: "Poppins", sans-serif; } } .value-button { padding: 8px 16px; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; color: #374151; cursor: pointer; transition: all 0.2s ease; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif; &:hover { background: #e5e7eb; } } .value-input { padding: 10px 4px; background: #ffffff; border: 1px solid #565656 !important; border-radius: 6px; font-size: 14px; color: #374151; font-family: "Poppins", sans-serif; width: 190px; &:focus { outline: none; border-color: #949494; } &:disabled { background: #f9fafb; color: #9ca3af; cursor: not-allowed; } &::placeholder { color: #9ca3af; } } .submit-section { margin-top: 3px; display: flex; justify-content: flex-end; grid-column: 1 / -1; .primary_Button span { text-align: center; width: 100%; } .primary_Button { width: max-content !important; background-color: #2563ea !important; height: 42px !important; padding: 10px !important; font-family: "Poppins", sans-serif !important; } button:nth-child(1) { border: none; background-color: unset; color: #8c8888; } button { border: none; outline: none; background-color: #2563ea; color: #fff; font-weight: 400; // -webkit-text-stroke-width: 0.1px; cursor: pointer; border-radius: 8px; font-size: 14px; font-family: "Poppins", sans-serif; display: flex; align-items: center; gap: 6px; padding: 8px 16px; } } .hrlIne { border-color: #ffffff94; border-width: 0.5px; } .tableSectionheader { display: flex; align-items: center; justify-content: space-between; margin-right: 2rem; width: max-content; .offercount { font-family: "Poppins", sans-serif; font-size: 14px; color: #878787; } .ant-input { padding: 2px 14px 6px 11px !important; } } // Table Styles .table-section { margin-top: 10px; grid-column: 1 / -1; background-color: #fff; border-radius: 10px; width: 100%; .ant-table-thead { position: unset !important; } .ant-table-row, .ant-table-cell { text-wrap: nowrap; &:hover { background-color: #fff !important; } } .extend-button { background: #2563ea; color: #fff; border: none; padding: 4px 10px; border-radius: 6px; cursor: pointer; font-size: 11px; font-weight: 400; font-family: "Poppins", sans-serif; transition: all 0.2s ease; &:hover { background: #1d4ed8; } } table tr:nth-child(even) { background-color: #e9e8e8; height: 35px; } table th { color: #64748b !important; font-size: 14px !important; } table td { color: #3b3b3b !important; font-size: 13px !important; } svg { cursor: pointer; } .ant-table-cell, .ant-table-thead { background-color: #f1f5f9 !important; // color: #64748B !important; } .ant-table-cell { background-color: unset !important; border-bottom: unset !important; // color: #272727 !important; font-weight: 500 !important; text-transform: capitalize !important; -webkit-text-stroke-width: 0.2px; } @media (max-width: 768px) { width: 100%; overflow: auto; height: max-content; max-height: 75vh; scrollbar-width: thin; } } .table-container { background: #f8fafc; border-radius: 8px; overflow: hidden; border: 1px solid #e2e8f0; } .data-table { width: 100%; border-collapse: collapse; th { background: #f1f5f9; padding: 12px 16px; text-align: left; font-size: 14px; font-weight: 600; color: #374151; border-bottom: 1px solid #e2e8f0; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif; } td { padding: 12px 16px; font-size: 14px; color: #374151; border-bottom: 1px solid #e2e8f0; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif; } tr:last-child td { border-bottom: none; } tr:hover { background: #f8fafc; } } // Responsive design @media (max-width: 768px) { .offers-card { padding: 6px; &__icon { width: 40px; height: 40px; svg { font-size: 16px; width: 16px; height: 16px; } } &__title { font-size: 16px; } &__subtitle { font-size: 13px; } } .offers-tab { padding: 10px 16px; &__text { font-size: 13px; } } .offers-content { padding: 0; width: 100%; } .form-section { grid-template-columns: 1fr; gap: 10px; } .radio-group { flex-direction: column; align-items: flex-start; gap: 12px; .ant-radio-group { gap: 12px; } } .input-group { align-items: stretch; } .add-button { align-self: flex-start; } .data-table { font-size: 12px; th, td { padding: 8px 12px; } } } // Modal Styles .modal-content { padding: 20px 0; } // Create New Offer Type modal styles .offer-type-modal { display: flex; flex-direction: column; gap: 14px; .offer-type-name-input { width: 100%; height: 40px; padding: 10px 12px; border: 1px solid #565656 !important; border-radius: 8px; font-size: 13px; font-family: "Poppins", sans-serif; &:focus { outline: none; border-color: #2563ea !important; box-shadow: 0 0 0 3px rgba(37, 99, 234, 0.1); } } .offer-combination-row { display: flex; gap: 10px; align-items: center; margin-top: 6px; .qty-input { width: 110px; height: 40px; padding: 10px 12px; border: 1px solid #565656 !important; border-radius: 8px; font-size: 13px; font-family: "Poppins", sans-serif; &:focus { outline: none; border-color: #2563ea !important; box-shadow: 0 0 0 3px rgba(37, 99, 234, 0.1); } } .add-combination-btn { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: #2563ea; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-size: 13px; font-family: "Poppins", sans-serif; svg { width: 16px; height: 16px; } } } .added-combinations-chips { display: flex; flex-wrap: wrap; gap: 10px; .combination-chip { display: flex; align-items: center; gap: 8px; background-color: #2563ea1a; border: 1px solid #2563ea40; color: #000; padding: 6px 10px; border-radius: 10px; font-size: 12px; font-weight: 500; font-family: "Poppins", sans-serif; .chip-remove { background: none; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #2b323d; } } } } .modal-input-group { margin-bottom: 20px; } .modal-helper-text { font-size: 12px; color: #6b7280; margin-top: 6px; margin-bottom: 0; font-family: "Poppins", sans-serif; } .modal-button-group { display: flex; justify-content: flex-end; gap: 12px; margin-top: 30px; } .modal-cancel-button { padding: 10px 20px; border: none; background: transparent; color: #6b7280; font-size: 14px; cursor: pointer; font-family: "Poppins", sans-serif; } .modal-submit-button { padding: 10px 20px; border: none; background: #2563ea; color: #ffffff; font-size: 13px; border-radius: 8px; cursor: pointer; font-family: "Poppins", sans-serif; } .modal-title { font-size: 14px !important; font-weight: 500 !important; color: #1f2937; margin: 0 0 8px 0; -webkit-text-stroke-width: 0.1px; font-family: "Poppins", sans-serif; } .modal-label { display: block; font-size: 14px; font-weight: 500; color: #374151; margin-bottom: 8px; font-family: "Poppins", sans-serif; } .modal-input-row { display: flex; gap: 8px; align-items: flex-start; .example { width: 100% !important; } } .modal-add-button { width: 40px; height: 40px; background: #2563ea; border: none; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; color: #fff; } .modal-radio-group { margin-bottom: 30px; } .modalcancelbutton { padding: 12px 24px; border: none; background: none; color: #565656; font-size: 14px; font-weight: 500; border-radius: 6px; cursor: pointer; font-family: "Poppins", sans-serif; } .radio-options { display: flex; gap: 0px; flex-direction: column; .added-combinations { display: flex; gap: 10px; flex-wrap: wrap; div { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; font-family: "Poppins", sans-serif; background-color: #2563ea1a; border: 1px solid #2563ea40; padding: 4px 8px; border-radius: 6px; color: #000000; font-weight: 400; font-family: "Poppins", sans-serif; // -webkit-text-stroke-width: 0.2px; } svg { cursor: pointer; } } } .radio-option { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: #374151; font-family: "Poppins", sans-serif; } .radio-option input[type="radio"] { width: 16px; height: 16px; accent-color: #2563ea; } .modal-primary-button { padding: 12px 24px; border: none; background: #2563ea; color: #ffffff; font-size: 14px; font-weight: 500; border-radius: 6px; cursor: pointer; font-family: "Poppins", sans-serif; } // Days Section Styles .days-section { display: flex; align-items: flex-start; gap: 4px; width: 200%; margin-top: 12px; flex-direction: column; } .days-label { font-size: 14px; font-weight: 500; color: #374151; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif; } .days-button { padding: 6px 12px; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 4px; font-size: 12px; color: #374151; cursor: pointer; transition: all 0.2s ease; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif; &:hover { background: #e5e7eb; } } // Days Modal Styles .selection-type-group { display: flex; gap: 20px; margin-top: 8px; } .days-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; } .day-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: #374151; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif; input[type="checkbox"] { width: 16px; height: 16px; accent-color: #3b82f6; } } .range-selection { display: flex; gap: 20px; margin-top: 8px; } .range-input-group { display: flex; flex-direction: column; gap: 6px; label { font-size: 12px; color: #6b7280; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif; } } .range-select { padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 4px; font-size: 14px; color: #374151; background: #ffffff; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif; &:focus { outline: none; border-color: #3b82f6; } } .selected-days { padding: 8px 12px; background: #2563ea1a; border: 1px solid #2563ea8c; border-radius: 4px; font-size: 15px; font-weight: 500; color: #2563ea; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif; margin-top: 8px; } .days-selected { font-size: 14px; color: #6b7280; font-family: "Poppins", sans-serif; background-color: rgba(37, 99, 234, 0.1019607843); padding: 8px 8px; color: #2563ea; font-family: "Poppins", sans-serif; border-radius: 8px; line-height: 1.5; border: rgba(37, 99, 234, 0.4431372549) 1px solid; display: flex; align-items: center; gap: 10px; font-weight: 500; } .edit-days-button { background: none; border: none; cursor: pointer; padding: 4px; color: #3b82f6; display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: all 0.2s ease; &:hover { background: #f0f9ff; color: #1d4ed8; } svg { width: 14px; height: 14px; } } .OfferName { font-size: 13px; font-weight: 400; -webkit-text-stroke-width: 0.2px; font-family: "Poppins", sans-serif; position: relative; bottom: 6px; } // Applied Values Display Styles .applied-values { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 12px; padding: 8px 12px; background: rgba(37, 99, 234, 0.1019607843); border: rgba(37, 99, 234, 0.4431372549) 1px solid; border-radius: 6px; font-family: "Poppins", sans-serif; } .applied-label { font-size: 14px; font-weight: 500; color: #2563ea; } .applied-value { font-size: 14px; font-weight: 500; -webkit-text-stroke-width: 0.2px; color: #2563ea; background: #ffffff; padding: 4px 8px; border-radius: 4px; border: 1px solid #e0f2fe; display: flex; align-items: center; gap: 10px; } .edit-applied-button { background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; color: #3b82f6; display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: all 0.2s ease; &:hover { background: #e0f2fe; color: #1d4ed8; } svg { width: 14px; height: 14px; } } // Offer Mapping Styles .offers-contentMain { display: flex; flex-direction: row; gap: 20px; justify-content: space-between; width: 100%; border: 0px solid #bbbbbb80; margin-top: 20px; border-radius: 8px; background-color: #fff; padding: 20px; @media (max-width: 1024px) { .form-section { grid-template-columns: 1fr !important; .ant-form-item { margin-bottom: 10px !important; } } } @media (max-width: 768px) { flex-direction: column; padding: 10px; margin-top: 0px; } } .offerMapping { background-color: #fff; position: relative; width: 49%; @media (max-width: 768px) { width: 100%; bottom: 0; } } .offerMapping-header { font-size: 18px; font-weight: 500; color: #000000; -webkit-text-stroke-width: 0.2px; margin-bottom: 0; font-family: "Poppins", sans-serif; display: flex; align-items: center; gap: 4px; } .offerMappingContent { display: flex; flex-direction: column; gap: 12px; border-radius: 8px; height: 100%; width: 100%; justify-content: space-between; .ant-select .ant-select-selector { padding: 4px 10px 4px 11px !important; } } .mapping-radio-group { p { display: none; } .ant-radio-label { padding: 4px 4px !important; font-size: 12.5px; font-weight: 500; font-family: "Poppins", sans-serif; } } .mapping-text { font-size: 14px; color: #6b7280; margin: 0; font-family: "Poppins", sans-serif; } .mapping-label { display: block; font-size: 13px; font-weight: 400; color: #374151; font-family: "Poppins", sans-serif; } .product-list { display: flex; flex-direction: column; gap: 8px; } .item-item { padding: 5px 7px; margin-bottom: 2px; background: #ffffff; border: 1px solid #d1d5db; border-radius: 4px; font-size: 14px; color: #374151; font-family: "Poppins", sans-serif; display: flex; align-items: center; justify-content: space-between; gap: 8px; } .remove-item-btn { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 16px; font-weight: bold; padding: 2px 6px; border-radius: 4px; transition: all 0.2s ease; &:hover { background: #fef2f2; color: #dc2626; } } .mapping-content { display: flex; align-items: flex-start; gap: 10px; width: 100%; @media (max-width: 768px) { flex-direction: column; } } .selected-items { width: 100%; height: 30vh; overflow: auto; scrollbar-width: thin; } .select-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .select-all-btn { background: #2563ea; color: #fff; border: none; padding: 6px 10px; border-radius: 6px; font-size: 12px; font-weight: 400; cursor: pointer; transition: all 0.2s ease; font-family: "Poppins", sans-serif; &:hover { background: #1d4ed8; } &:active { transform: scale(0.98); } } .offerMapping-header-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px; padding-left: 10px; .ant-radio-wrapper .ant-radio-checked .ant-radio-inner { border-color: #004ba9; background-color: #004ba9; width: 14px !important; height: 14px !important; } .ant-select-selection-search-input { bottom: 0 !important; } } .selected-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; } .selected-count { color: #6b7280; font-size: 12px; font-weight: 500; background: #f3f4f6; padding: 2px 8px; border-radius: 12px; font-family: "Poppins", sans-serif; } .OfferBreadcrumbs { display: flex; align-items: center; gap: 12px; margin-bottom: 5px; background-color: #fff; position: sticky; top: 0; z-index: 10; div { display: flex; align-items: center; gap: 2px; font-size: 10px; font-weight: 400; font-family: "Poppins", sans-serif; cursor: pointer; color: #676767; &:hover { color: #202020; } } } // Tab button styles .tab-buttons { display: flex; margin-bottom: 8px; margin-top: 6px; border-radius: 6px; background-color: #2563ea26; width: max-content; .tab-button { padding: 6px 12px; border-radius: 6px; background: unset; border: none; color: #374151; cursor: pointer; font-size: 12px; font-weight: 400; // -webkit-text-stroke-width: 0.1px; transition: all 0.2s ease; font-family: "Poppins", sans-serif; &.active { background: #2563ea; color: #fff; border-color: #2563ea; } } } // Discount Type tabs .discount-type-tabs { .value-input { padding: 10px 12px; border: 1px solid #565656 !important; border-radius: 6px; font-size: 14px; margin-top: 8px; &:focus { outline: none; border-color: #2563ea; box-shadow: 0 0 0 3px rgba(37, 99, 234, 0.1); } &:disabled { background: #f9fafb; color: #9ca3af; cursor: not-allowed; } } } // Apply On section .apply-on-section { .apply-on-label { display: block; font-weight: 600; color: #374151; margin-bottom: 12px; font-size: 14px; } .apply-on-inputs { display: flex; gap: 16px; @media (max-width: 900px) { flex-direction: column; } .input-field-group { flex: 1; .input-label { display: block; font-size: 12px; color: #1e1e1e; margin: 17px 6px; font-weight: 500; font-family: "Poppins", sans-serif; -webkit-text-stroke-width: 0.1px; } .apply-input { width: 100%; padding: 12px 12px; border: 1px solid #565656 !important; border-radius: 6px; font-size: 14px; &:focus { outline: none; border-color: #2563ea; box-shadow: 0 0 0 3px rgba(37, 99, 234, 0.1); } &::placeholder { color: #9ca3af; } } } } } .limit-usage-input { border-radius: 10px; /* slightly smoother corners */ height: 44px; /* balanced height */ padding: 8px 14px; /* better spacing (vertical x horizontal) */ border: 1px solid #000000; /* subtle border */ background: #ffffff; /* clean white background */ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* soft shadow for depth */ font-size: 15px; /* clean readable text */ color: #333; /* elegant dark gray text */ transition: all 0.25s ease; /* smooth hover effect */ } // Limit Usage section .limit-usage-section { .limit-usage-label { display: block; font-weight: 600; color: #374151; margin-bottom: 12px; font-size: 14px; } .limit-usage-input { width: 190px; padding: 12px 12px; border: 1px solid #565656 !important; border-radius: 6px; font-size: 14px; &:focus { outline: none; border-color: #2563ea; box-shadow: 0 0 0 3px rgba(37, 99, 234, 0.1); } &::placeholder { color: #9ca3af; } } } // Offer Schedule tabs .offer-schedule-tabs { .days-section { margin-top: 20px; // Ensure Ant Design DatePicker borders match inputs .ant-picker { border: 1px solid #565656 !important; border-radius: 6px !important; } .ant-picker-focused, .ant-picker:hover { border-color: #2563ea !important; box-shadow: 0 0 0 3px rgba(37, 99, 234, 0.1); } .days-header { margin-bottom: 12px; display: flex; justify-content: flex-end; .allSelectBtn { background: #2563ea; color: #fff; border: none; padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 400; font-family: "Poppins", sans-serif; transition: all 0.2s ease; } } .days-grid { display: flex; flex-wrap: wrap; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 16px; .day-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; border-radius: 6px; transition: all 0.2s ease; input[type="checkbox"] { width: 16px; height: 16px; accent-color: #2563ea; } span { font-size: 12px; color: #2b323d; -webkit-text-stroke-width: 0.1px; font-weight: 400; } } } .selected-days-display { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; background: #2563ea1a; border: #2563ea71 1px solid; border-radius: 6px; gap: 10px; .selected-days-text { color: #374151; font-size: 12px; -webkit-text-stroke-width: 0.1px; font-weight: 500; font-family: "Poppins", sans-serif; } .edit-days-button { background: none; border: none; color: #db0000ea; cursor: pointer; padding: 4px; border-radius: 4px; display: flex; align-items: center; justify-content: center; &:hover { background: rgba(14, 165, 233, 0.1); } } } // Period Range Section .period-range-section { margin-top: 20px; .period-range-label { display: block; font-size: 13px; font-weight: 400; -webkit-text-stroke-width: 0.2px; font-family: "Poppins", sans-serif; position: relative; bottom: 6px; } .period-range-options { display: flex; gap: 24px; .period-radio { display: flex; align-items: center; gap: 8px; cursor: pointer; input[type="radio"] { width: 16px; height: 16px; accent-color: #2563ea; } span { font-size: 12px; color: #000000; font-weight: 500; font-family: "Poppins", sans-serif; } } } // Date Range Fields .date-range-fields { margin-top: 20px; display: flex; gap: 24px; .date-field-group { flex: 1; .date-label { display: block; font-weight: 600; color: #374151; margin-bottom: 8px; font-size: 14px; } .date-picker { width: 100%; font-family: "Poppins", sans-serif; .ant-picker-input { font-size: 14px; font-family: "Poppins", sans-serif; &:focus { outline: none; border-color: #2563ea; box-shadow: 0 0 0 3px rgba(37, 99, 234, 0.1); } } .ant-picker-suffix { color: #6b7280; } // Override Ant Design default styles .ant-picker { font-family: "Poppins", sans-serif; } .ant-picker-input > input { font-family: "Poppins", sans-serif; } } } } } .days-selected { color: #374151; font-size: 14px; display: flex; align-items: center; gap: 8px; .edit-days-button { background: none; border: none; color: #2563ea; cursor: pointer; padding: 4px; border-radius: 4px; &:hover { background: rgba(37, 99, 234, 0.1); } } } } } @media (max-width: 500px) { .offers-card__title { font-size: 16px !important; } }