@sc-360-v2/storefront-cms-library 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/modal.scss CHANGED
@@ -462,6 +462,890 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
462
462
  flex: 1 1 auto;
463
463
  overflow-y: auto;
464
464
 
465
+ // Payment with checkout started
466
+ .retry-order-overlay {
467
+ .retry-order-container {
468
+ max-width: 960px;
469
+ margin: 0 auto;
470
+ .chk_payment-options {
471
+ form {
472
+ display: flex;
473
+ flex-direction: column;
474
+ gap: 24px;
475
+ }
476
+ display: flex;
477
+ flex-direction: column;
478
+ margin-block: 12px;
479
+ .chk_payment_options_form {
480
+ display: flex;
481
+ flex-direction: column;
482
+ overflow: hidden;
483
+ }
484
+ .payment_program {
485
+ // padding: 0 12px;
486
+
487
+ display: flex;
488
+ flex-direction: column;
489
+ gap: 16px;
490
+
491
+ .payment_program_header {
492
+ display: flex;
493
+ justify-content: space-between;
494
+ // gap: 8px;
495
+ align-items: center;
496
+
497
+ // margin-bottom: 16px;
498
+
499
+ &_label {
500
+ display: flex;
501
+ justify-content: space-between;
502
+ align-items: center;
503
+ &_title {
504
+ font-size: 14px;
505
+ font-weight: 600;
506
+ color: var(--_gray-600);
507
+ }
508
+ }
509
+ &_pds {
510
+ font-size: 14px;
511
+ font-weight: 600;
512
+ &_label {
513
+ font-size: 14px;
514
+ color: var(--_gray-600);
515
+ }
516
+ &_value {
517
+ font-size: 14px;
518
+ color: var(--_gray-900);
519
+ }
520
+ }
521
+ .chk_checkbox_wrapper {
522
+ display: flex;
523
+ width: fit-content;
524
+ align-items: center;
525
+ font-family: sans-serif;
526
+ gap: 12px;
527
+
528
+ .discard_btn {
529
+ padding: 12px 16px;
530
+ border-radius: 4px;
531
+ color: var(--_gray-600);
532
+ &:hover {
533
+ background-color: var(--_gray-100);
534
+ }
535
+ }
536
+
537
+ input[type="checkbox"] {
538
+ display: none;
539
+ }
540
+ .payment_program_title {
541
+ font-size: 16px;
542
+ font-weight: 700;
543
+ color: var(--_gray-900);
544
+ }
545
+
546
+ .chk_shipping_address_use_as_billing_address_chkbx {
547
+ display: flex;
548
+ align-items: center;
549
+ cursor: pointer;
550
+ gap: 10px;
551
+
552
+ color: var(--_gray-900);
553
+ font-weight: 500;
554
+ font-size: 14px;
555
+
556
+ .custom-checkbox {
557
+ width: 20px;
558
+ height: 20px;
559
+ border: 1px solid #d0d5dd;
560
+ border-radius: 4px;
561
+ position: relative;
562
+ background-color: #fff;
563
+ transition: all 0.2s ease;
564
+
565
+ &::after {
566
+ content: "";
567
+ position: absolute;
568
+ display: none;
569
+ left: 6px;
570
+ top: 0.5px;
571
+ width: 5px;
572
+ height: 10px;
573
+ border: solid #fff;
574
+ border-width: 0 2px 2px 0;
575
+ transform: rotate(45deg);
576
+ }
577
+ }
578
+ }
579
+
580
+ input[type="checkbox"]:checked + label {
581
+ .custom-checkbox {
582
+ background-color: #004dff;
583
+ border-color: #004dff;
584
+
585
+ &::after {
586
+ display: block;
587
+ }
588
+ }
589
+ }
590
+ }
591
+ }
592
+ }
593
+ .gift_crd_chk_payment_option {
594
+ border: 1px solid var(--_gray-300);
595
+ border-radius: 6px;
596
+ .add_gift_card {
597
+ display: flex;
598
+ gap: 12px;
599
+ padding: 16px;
600
+
601
+ .gc_icon {
602
+ svg {
603
+ width: 18px;
604
+ height: 14px;
605
+ }
606
+ }
607
+
608
+ .gc_info {
609
+ display: flex;
610
+ flex-direction: column;
611
+ gap: 6px;
612
+
613
+ .gc_title {
614
+ font-size: 14px;
615
+ font-weight: 600;
616
+ }
617
+ }
618
+ }
619
+ .payment_heading {
620
+ padding: 16px;
621
+ .chk_payment_options_heading {
622
+ padding: 0;
623
+ font-weight: 600;
624
+ }
625
+ }
626
+ // gift card styles
627
+ .chk_gft_crd_wrapper {
628
+ display: flex;
629
+ justify-content: space-between;
630
+ align-items: center;
631
+ padding: 16px 16px 0 16px;
632
+ &_item {
633
+ display: flex;
634
+ align-items: center;
635
+ gap: 16px;
636
+ &_icon {
637
+ width: 40px;
638
+ height: 40px;
639
+ border: 1px solid var(--_gray-200);
640
+ border-radius: 6px;
641
+ display: flex;
642
+ justify-content: center;
643
+ align-items: center;
644
+ }
645
+ &_info {
646
+ display: flex;
647
+ flex-direction: column;
648
+ &_title {
649
+ font-size: 14px;
650
+ margin-bottom: 4px;
651
+ font-weight: 600;
652
+ }
653
+ &_desc {
654
+ display: flex;
655
+ gap: 4px;
656
+ &_value {
657
+ font-size: 12px;
658
+ color: var(--_gray-600);
659
+ }
660
+ &_label {
661
+ font-size: 12px;
662
+ color: var(--_gray-900);
663
+ }
664
+ }
665
+ }
666
+ &_pin {
667
+ margin-left: 36px;
668
+ input[type="number"] {
669
+ border: 1px solid var(--_gray-300);
670
+ border-radius: 4px;
671
+ background-color: var(--_base-white);
672
+ width: 95px;
673
+ height: 44px;
674
+ padding-inline: 10px;
675
+ &:focus {
676
+ outline: 2px solid var(--_primary-100);
677
+ border: 1px solid var(--_primary-300);
678
+ }
679
+ }
680
+ }
681
+ }
682
+
683
+ &_input {
684
+ border: 1px solid var(--_gray-300);
685
+ border-radius: 4px;
686
+ background-color: var(--_base-white);
687
+ height: 44px;
688
+ width: 120px;
689
+ display: flex;
690
+ align-items: center;
691
+ gap: 8px;
692
+ padding-left: 10px;
693
+ input[type="number"] {
694
+ background-color: var(--_base-white);
695
+ padding-right: 10px;
696
+ }
697
+ &:focus-within {
698
+ outline: 2px solid var(--_primary-100);
699
+ border: 1px solid var(--_primary-300);
700
+ }
701
+ }
702
+ }
703
+ .chk_gft_crd_wrapper {
704
+ &_btn {
705
+ text-align: left;
706
+ margin-bottom: 16px;
707
+ color: var(--_primary-400);
708
+ &:hover {
709
+ text-decoration: underline;
710
+ }
711
+ }
712
+ }
713
+ }
714
+
715
+ .chk_payment_option_wrapper {
716
+ display: flex;
717
+ flex-direction: column;
718
+ overflow: hidden;
719
+ border-radius: 6px;
720
+ border: 1px solid var(--_gray-300);
721
+
722
+ .pp_pmnt_method_groups {
723
+ &:not(:last-child) {
724
+ border-bottom: 1px solid var(--_gray-200);
725
+ padding-bottom: 16px;
726
+ }
727
+ .pp_ppm_section {
728
+ background-color: var(--_base-white);
729
+ border-bottom: 1px solid var(--_gray-300);
730
+ padding: 14px 12px;
731
+
732
+ display: flex;
733
+ justify-content: space-between;
734
+ gap: 8px;
735
+ .pp_ppm_section_label {
736
+ font-size: 14px;
737
+ font-weight: 700;
738
+ color: var(--_gray-900);
739
+ }
740
+ .pp_ppm_section_value {
741
+ font-size: 14px;
742
+ font-weight: 600;
743
+ color: var(--_gray-600);
744
+ .pp_ppm_section_value_label {
745
+ font-weight: 500;
746
+ color: var(--_gray-500);
747
+ }
748
+ .pp_ppm_section_value_amount {
749
+ font-weight: 500;
750
+ color: var(--_gray-500);
751
+ }
752
+ }
753
+ }
754
+ .payment_methods {
755
+ // padding: 12px;
756
+ display: grid;
757
+ gap: 8px;
758
+ .chk_payment_option {
759
+ .add_new_credit_card {
760
+ padding: 16px 16px 0px 16px;
761
+ display: flex;
762
+ justify-content: space-between;
763
+ font-weight: 600;
764
+ .cc_tertiary_btn {
765
+ // color: var(--_primary-400);
766
+ color: var(--_thm-cs-tt-ls-as);
767
+ font-size: 14px;
768
+ &:hover {
769
+ text-decoration: underline;
770
+ }
771
+ }
772
+ }
773
+ .chk_payment_section_wrapper {
774
+ width: 100%;
775
+ display: flex;
776
+ justify-content: space-between;
777
+ padding: 16px;
778
+
779
+ .chk_payment_section {
780
+ display: flex;
781
+ justify-content: space-between;
782
+ align-items: center;
783
+ width: 100%;
784
+ .chk_payment_section_col_left {
785
+ display: flex;
786
+ gap: 12px;
787
+ svg {
788
+ width: 24px;
789
+ height: 24px;
790
+ }
791
+ .chk_payment_section_method {
792
+ display: flex;
793
+ flex-direction: column;
794
+ .chk_payment_section_method_name {
795
+ font-size: 14px;
796
+ font-weight: 700;
797
+ line-height: 20px;
798
+ color: var(--_gray-700);
799
+ }
800
+ & > div {
801
+ display: flex;
802
+ gap: 2px;
803
+ .label {
804
+ font-size: 12px;
805
+ color: var(--_gray-500);
806
+ font-weight: 400;
807
+ }
808
+ .price {
809
+ font-size: 12px;
810
+ color: var(--_gray-900);
811
+ font-weight: 500;
812
+ }
813
+ }
814
+ }
815
+ }
816
+ &_col_right {
817
+ .chk_currency_inp {
818
+ height: 44px;
819
+ border: 1px solid var(--_gray-200);
820
+ border-radius: 4px;
821
+ background-color: var(--_base-white);
822
+ display: flex;
823
+ width: 120px;
824
+ overflow: hidden;
825
+ align-items: center;
826
+ padding-inline: 12px;
827
+ gap: 12px;
828
+ padding: 8px 12px;
829
+ border: 1px solid var(--_gray-300);
830
+ border-radius: 4px;
831
+ &:focus-within {
832
+ border: 1px solid var(--_primary-200);
833
+ outline: 2px solid var(--_primary-50);
834
+ }
835
+ input {
836
+ height: inherit;
837
+ background-color: var(--_base-white);
838
+ &:disabled {
839
+ opacity: 0.8;
840
+ cursor: not-allowed;
841
+ }
842
+ }
843
+ }
844
+ }
845
+ }
846
+
847
+ .chk_payment_options_heading {
848
+ color: var(--_gray-900);
849
+ font-size: 16px;
850
+ font-weight: 700;
851
+ .chk_primary_btn_link {
852
+ }
853
+ }
854
+
855
+ // payment other options styles
856
+ .chk_pmnt_other_options {
857
+ display: flex;
858
+ justify-content: space-between;
859
+ gap: 80px;
860
+ padding: 16px;
861
+ .chk_pmnt_other_options_left_container {
862
+ display: flex;
863
+ gap: 12px;
864
+ .chk_pmnt_option_info_wrapper {
865
+ display: flex;
866
+ gap: 12px;
867
+ .cards {
868
+ display: flex;
869
+ flex-direction: column;
870
+ gap: 8px;
871
+ .chk_payment_options_name {
872
+ font-weight: 600;
873
+ }
874
+ span {
875
+ font-size: 12px;
876
+ .chk_payment_options_label {
877
+ color: var(--_gray-600);
878
+ }
879
+ .chk_payment_options_value {
880
+ color: var(--_gray-900);
881
+ }
882
+ }
883
+ }
884
+ }
885
+ }
886
+ .chk_pmnt_other_options_container {
887
+ padding: 16px;
888
+ }
889
+ }
890
+
891
+ &__other_option_wrapper {
892
+ display: flex;
893
+ width: 100%;
894
+ justify-content: space-between;
895
+ padding: 16px;
896
+
897
+ @media (max-width: 500px) {
898
+ flex-direction: column;
899
+ }
900
+ }
901
+
902
+ &_left_container {
903
+ display: flex;
904
+ gap: 12px;
905
+ align-items: flex-start;
906
+ .chk_payment_option__info_wrapper {
907
+ display: flex;
908
+ gap: 0px;
909
+ }
910
+
911
+ @media (max-width: 500px) {
912
+ flex-wrap: wrap;
913
+ }
914
+ }
915
+
916
+ &__left_wrapper {
917
+ display: flex;
918
+ flex-direction: column;
919
+ align-items: flex-start;
920
+ gap: 16px;
921
+ }
922
+
923
+ &__card_icon {
924
+ width: 60px;
925
+ height: 40px;
926
+ }
927
+
928
+ &__info_wrapper {
929
+ display: flex;
930
+ flex-direction: column;
931
+ }
932
+
933
+ &_right_container {
934
+ display: flex;
935
+ gap: 6px;
936
+ align-items: flex-start;
937
+
938
+ @media (max-width: 500px) {
939
+ justify-content: flex-end;
940
+ }
941
+ }
942
+
943
+ &_input {
944
+ display: flex;
945
+ padding: 9px 12px;
946
+ align-items: center;
947
+ max-width: 96px;
948
+ background-color: var(--_base-white);
949
+ border: 1px solid var(--_gray-300);
950
+ border-radius: 6px;
951
+ color: var(--_gray-700);
952
+
953
+ &:focus-within {
954
+ border: 1px solid var(--_primary-300);
955
+ outline: 2px solid var(--_primary-100);
956
+ }
957
+
958
+ .icon {
959
+ svg {
960
+ path {
961
+ stroke: var(--_primary-400);
962
+ }
963
+ }
964
+ }
965
+
966
+ .input_field {
967
+ background-color: var(--_base-white);
968
+ border: 1px solid var(--_gray-300);
969
+ border-radius: 6px;
970
+ color: var(--_gray-700);
971
+
972
+ &:focus-within {
973
+ border: 1px solid var(--_primary-300);
974
+ outline: 2px solid var(--_primary-100);
975
+ }
976
+ }
977
+ }
978
+ }
979
+ .chk_cred_form_details {
980
+ border-top: 1px solid var(--_gray-100);
981
+ padding: 16px;
982
+ .chk_basic_form_title {
983
+ font-size: 14px;
984
+ margin-bottom: 16px;
985
+ font-weight: 600;
986
+ }
987
+ .chk_form_fields {
988
+ h3 {
989
+ font-size: 14px;
990
+ margin-bottom: 8px;
991
+ }
992
+ display: flex;
993
+ flex-direction: column;
994
+ gap: 24px;
995
+ width: 500px;
996
+ .chk_form_field {
997
+ width: 100%;
998
+ &.expiry_details {
999
+ width: 80px;
1000
+ }
1001
+
1002
+ display: flex;
1003
+ flex-direction: column;
1004
+ gap: 6px;
1005
+ width: 100%;
1006
+
1007
+ .chk_form_field_label {
1008
+ // font-size: 14px;
1009
+ // color: var(--_gray-600);
1010
+ padding-bottom: 2px;
1011
+ color: var(--_gray-700);
1012
+ }
1013
+ .chk_form_field_inp {
1014
+ width: -webkit-fill-available;
1015
+ height: 40px;
1016
+ background-color: var(--_base-white);
1017
+ color: var(--_gray-600);
1018
+ border: 1px solid var(--_gray-300);
1019
+ border-radius: 6px;
1020
+ height: 40px;
1021
+ padding: 8px 12px;
1022
+ &::placeholder {
1023
+ color: var(--_gray-600);
1024
+ }
1025
+ input &:focus-within {
1026
+ border: 1px solid var(--_primary-300);
1027
+ outline: 2px solid var(--_primary-100);
1028
+ }
1029
+ }
1030
+ .error_msg {
1031
+ display: block;
1032
+ color: var(--_error-700);
1033
+ font-size: 12px;
1034
+ }
1035
+ }
1036
+
1037
+ .checkbox {
1038
+ width: auto;
1039
+
1040
+ label {
1041
+ display: flex;
1042
+ align-items: center;
1043
+ gap: 8px;
1044
+ cursor: pointer;
1045
+ position: relative;
1046
+ user-select: none;
1047
+
1048
+ input[type="checkbox"] {
1049
+ display: none;
1050
+
1051
+ &:checked + .custom-checkbox::after {
1052
+ opacity: 1;
1053
+ }
1054
+ }
1055
+
1056
+ .custom-checkbox {
1057
+ width: 16px;
1058
+ height: 16px;
1059
+ border: 2px solid var(--_primary-400);
1060
+ border-radius: 4px;
1061
+ position: relative;
1062
+ display: inline-block;
1063
+ box-sizing: border-box;
1064
+
1065
+ &::after {
1066
+ content: "";
1067
+ position: absolute;
1068
+ left: 3px;
1069
+ top: 0px;
1070
+ width: 4px;
1071
+ height: 8px;
1072
+ border: solid var(--_primary-400);
1073
+ border-width: 0 1px 1px 0;
1074
+ transform: rotate(45deg);
1075
+ opacity: 0;
1076
+ transition: opacity 0.2s ease-in-out;
1077
+ }
1078
+ }
1079
+ }
1080
+ }
1081
+ .expiry_details {
1082
+ display: flex;
1083
+ gap: 12px;
1084
+ .cvv_inp {
1085
+ width: 110px;
1086
+ }
1087
+ }
1088
+ }
1089
+ .chk_form_actions {
1090
+ display: flex;
1091
+ gap: 12px;
1092
+ .chk_sav_btn {
1093
+ padding: 12px 16px;
1094
+ background-color: var(--_primary-400);
1095
+ border-radius: 6px;
1096
+ color: var(--_base-white);
1097
+ font-size: 14px;
1098
+ &:hover {
1099
+ background-color: var(--_primary-500);
1100
+ }
1101
+ }
1102
+ .chk_can_btn {
1103
+ padding: 12px 16px;
1104
+ background-color: transparent;
1105
+ border-radius: 6px;
1106
+ color: var(--_gray-600);
1107
+ padding-inline: 10px;
1108
+ font-size: 14px;
1109
+
1110
+ &:hover {
1111
+ background-color: var(--_gray-50);
1112
+ color: var(--_gray-900);
1113
+ }
1114
+ }
1115
+ }
1116
+ }
1117
+ }
1118
+ .add_credit_card {
1119
+ display: flex;
1120
+ gap: 12px;
1121
+ padding: 16px;
1122
+
1123
+ .cc_icon {
1124
+ svg {
1125
+ width: 18px;
1126
+ height: 14px;
1127
+ }
1128
+ }
1129
+
1130
+ .cc_info {
1131
+ display: flex;
1132
+ justify-content: space-between;
1133
+ width: 100%;
1134
+ gap: 6px;
1135
+
1136
+ .cc_title {
1137
+ font-size: 14px;
1138
+ font-weight: 600;
1139
+ }
1140
+ }
1141
+ }
1142
+ .add_new_credit_card {
1143
+ display: flex;
1144
+ justify-content: space-between;
1145
+ align-items: center;
1146
+ padding-inline: 16px;
1147
+ }
1148
+ .cc_tertiary_btn {
1149
+ // color: var(--_primary-400);
1150
+ color: var(--_thm-cs-tt-ls-as);
1151
+
1152
+ &:hover {
1153
+ // color: var(--_primary-500);
1154
+ color: var(--_thm-cs-tt-ls-as);
1155
+ text-decoration: underline;
1156
+ }
1157
+ }
1158
+ }
1159
+ }
1160
+ }
1161
+
1162
+ .payment_heading {
1163
+ display: flex;
1164
+ justify-content: space-between;
1165
+ border-bottom: 1px solid var(--_gray-100);
1166
+ font-weight: 600;
1167
+ gap: 8px;
1168
+ }
1169
+
1170
+ .gc_tertiary_btn {
1171
+ color: var(--_primary-400);
1172
+ font-size: 14px;
1173
+ line-height: auto;
1174
+
1175
+ &:hover {
1176
+ color: var(--_thm-cs-tt-ls-as);
1177
+ text-decoration: underline;
1178
+ }
1179
+ }
1180
+ .chk_payment_options_heading {
1181
+ color: var(--_gray-900);
1182
+ font-size: 16px;
1183
+ font-weight: 700;
1184
+ display: flex;
1185
+ justify-content: space-between;
1186
+ gap: 8px;
1187
+ display: flex;
1188
+ justify-content: space-between;
1189
+ gap: 8px;
1190
+ }
1191
+ }
1192
+ .chk_payment_cred_section {
1193
+ display: flex;
1194
+ justify-content: space-between;
1195
+ align-items: center;
1196
+ padding: 16px 16px 8px 16px;
1197
+
1198
+ .chk_currency_inp {
1199
+ height: 44px;
1200
+ border: 1px solid var(--_gray-200);
1201
+ border-radius: 4px;
1202
+ background-color: var(--_base-white);
1203
+ display: flex;
1204
+ width: 120px;
1205
+ overflow: hidden;
1206
+ align-items: center;
1207
+ padding: 8px 12px;
1208
+ gap: 12px;
1209
+ &:focus-within {
1210
+ border: 1px solid var(--_primary-200);
1211
+ outline: 2px solid var(--_primary-50);
1212
+ }
1213
+ input {
1214
+ height: inherit;
1215
+ background-color: var(--_base-white);
1216
+ &:disabled {
1217
+ opacity: 0.8;
1218
+ cursor: not-allowed;
1219
+ }
1220
+ }
1221
+ }
1222
+ .chk_payment_cred_section_col_left {
1223
+ .chk_payment_cred_section_col_left_crd_details {
1224
+ display: flex;
1225
+ gap: 80px;
1226
+ align-items: center;
1227
+ & > div {
1228
+ display: flex;
1229
+ gap: 12px;
1230
+ .card_icon {
1231
+ width: 60px;
1232
+ height: 40px;
1233
+ border-radius: 4px;
1234
+ }
1235
+ .card_details {
1236
+ .card_details_num {
1237
+ font-weight: 600;
1238
+ color: var(--_gray-900);
1239
+ font-size: 14px;
1240
+ line-height: 20px;
1241
+ }
1242
+ & > div {
1243
+ display: flex;
1244
+ .card_details_label {
1245
+ color: var(--_gray-500);
1246
+ font-size: 12px;
1247
+ font-weight: 400;
1248
+ }
1249
+ .card_details_value {
1250
+ color: var(--_gray-900);
1251
+ font-size: 12px;
1252
+ font-weight: 500;
1253
+ }
1254
+ }
1255
+ }
1256
+ }
1257
+ }
1258
+ }
1259
+ }
1260
+
1261
+ // giftcard form styles
1262
+ .chk_gift_card_details {
1263
+ border-top: 1px solid var(--_gray-300);
1264
+ padding: 16px;
1265
+ .chk_gift_card_form {
1266
+ display: flex;
1267
+ flex-direction: column;
1268
+ gap: 16px;
1269
+ max-width: 480px;
1270
+ .chk_gift_cart_form_title {
1271
+ font-size: 14px;
1272
+ font-weight: 600;
1273
+ }
1274
+
1275
+ .chk_gift_form_fields {
1276
+ display: flex;
1277
+ gap: 12px;
1278
+ width: 100%;
1279
+ .chk_gift_inp_field {
1280
+ display: flex;
1281
+ flex-direction: column;
1282
+ gap: 6px;
1283
+ width: 100%;
1284
+ label {
1285
+ color: var(--_gray-600);
1286
+ }
1287
+ .chk_gift_inp {
1288
+ border: 1px solid var(--_gray-300);
1289
+ border-radius: 6px;
1290
+ height: 40px;
1291
+ padding-inline: 10px;
1292
+ &:placeholder-shown {
1293
+ padding-left: 10px;
1294
+ color: var(--_gray-400);
1295
+ }
1296
+ &:focus {
1297
+ border: 1px solid var(--_primary-300);
1298
+ outline: 2px solid var(--_primary-100);
1299
+ }
1300
+ }
1301
+ &.pin {
1302
+ width: 110px;
1303
+ }
1304
+ .error_msg {
1305
+ display: block;
1306
+ color: var(--_error-700);
1307
+ font-size: 12px;
1308
+ }
1309
+ }
1310
+ .error_msg {
1311
+ color: var(--_error-700);
1312
+ font-size: 14px;
1313
+ }
1314
+ }
1315
+ }
1316
+ }
1317
+ .chk_form_actions {
1318
+ display: flex;
1319
+ gap: 12px;
1320
+ .chk_sav_btn {
1321
+ padding: 12px 16px;
1322
+ background-color: var(--_primary-400);
1323
+ border-radius: 6px;
1324
+ color: var(--_base-white);
1325
+ font-size: 14px;
1326
+ &:hover {
1327
+ background-color: var(--_primary-500);
1328
+ }
1329
+ }
1330
+ .chk_can_btn {
1331
+ padding: 12px 16px;
1332
+ background-color: transparent;
1333
+ border-radius: 6px;
1334
+ color: var(--_gray-600);
1335
+ padding-inline: 10px;
1336
+ font-size: 14px;
1337
+
1338
+ &:hover {
1339
+ background-color: var(--_gray-50);
1340
+ color: var(--_gray-900);
1341
+ }
1342
+ }
1343
+ }
1344
+ }
1345
+ }
1346
+
1347
+ // Payment with checkout end
1348
+
465
1349
  .dropdown-with-input-section {
466
1350
  // border: 0.5px solid var(--_gray-300);
467
1351
  .dropdown-menu {
@@ -487,51 +1371,51 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
487
1371
  }
488
1372
  }
489
1373
  }
490
- .action-buttons {
491
- display: flex;
492
- gap: 1rem;
493
- align-items: center;
494
- justify-content: flex-end;
495
- flex: 1 1 auto;
496
- padding: 16px 24px;
497
- border-top: 1px solid var(--_gray-200);
498
- gap: 12px;
499
- button {
500
- padding: 12px 16px;
501
- border-radius: 6px;
502
- }
503
- .create-btn {
504
- display: flex;
505
- justify-content: center;
506
- align-items: center;
507
- gap: 8px;
508
- background-color: var(--_primary-400);
509
- color: var(--_base-white);
510
- &.disabled {
511
- opacity: 0.5;
512
- pointer-events: none;
513
- }
514
- .loader {
515
- animation: rotate-icon 1s linear infinite;
516
- display: inline-block;
517
- transform-origin: center;
518
-
519
- svg path {
520
- stroke: var(--_primary-200);
521
- }
522
- }
523
-
524
- &:hover {
525
- background-color: var(--_primary-500);
526
- }
527
- }
528
- .discard-btn {
529
- &:hover {
530
- background-color: var(--_gray-50);
531
- color: var(--_gray-900);
532
- }
533
- }
534
- }
1374
+ // .action-buttons {
1375
+ // display: flex;
1376
+ // gap: 1rem;
1377
+ // align-items: center;
1378
+ // justify-content: flex-end;
1379
+ // flex: 1 1 auto;
1380
+ // padding: 16px 24px;
1381
+ // border-top: 1px solid var(--_gray-200);
1382
+ // gap: 12px;
1383
+ // button {
1384
+ // padding: 12px 16px;
1385
+ // border-radius: 6px;
1386
+ // }
1387
+ // .create-btn {
1388
+ // display: flex;
1389
+ // justify-content: center;
1390
+ // align-items: center;
1391
+ // gap: 8px;
1392
+ // background-color: var(--_primary-400);
1393
+ // color: var(--_base-white);
1394
+ // &.disabled {
1395
+ // opacity: 0.5;
1396
+ // pointer-events: none;
1397
+ // }
1398
+ // .loader {
1399
+ // animation: rotate-icon 1s linear infinite;
1400
+ // display: inline-block;
1401
+ // transform-origin: center;
1402
+
1403
+ // svg path {
1404
+ // stroke: var(--_primary-200);
1405
+ // }
1406
+ // }
1407
+
1408
+ // &:hover {
1409
+ // background-color: var(--_primary-500);
1410
+ // }
1411
+ // }
1412
+ // .discard-btn {
1413
+ // &:hover {
1414
+ // background-color: var(--_gray-50);
1415
+ // color: var(--_gray-900);
1416
+ // }
1417
+ // }
1418
+ // }
535
1419
 
536
1420
  // processing loader
537
1421
  .pmnt_process_container {
@@ -1310,6 +2194,51 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
1310
2194
  }
1311
2195
  }
1312
2196
  }
2197
+ .action-buttons {
2198
+ display: flex;
2199
+ gap: 1rem;
2200
+ align-items: center;
2201
+ justify-content: flex-end;
2202
+ flex: 1 1 auto;
2203
+ padding: 16px 24px;
2204
+ border-top: 1px solid var(--_gray-200);
2205
+ gap: 12px;
2206
+ button {
2207
+ padding: 12px 16px;
2208
+ border-radius: 6px;
2209
+ }
2210
+ .create-btn {
2211
+ display: flex;
2212
+ justify-content: center;
2213
+ align-items: center;
2214
+ gap: 8px;
2215
+ background-color: var(--_primary-400);
2216
+ color: var(--_base-white);
2217
+ &.disabled {
2218
+ opacity: 0.5;
2219
+ pointer-events: none;
2220
+ }
2221
+ .loader {
2222
+ animation: rotate-icon 1s linear infinite;
2223
+ display: inline-block;
2224
+ transform-origin: center;
2225
+
2226
+ svg path {
2227
+ stroke: var(--_primary-200);
2228
+ }
2229
+ }
2230
+
2231
+ &:hover {
2232
+ background-color: var(--_primary-500);
2233
+ }
2234
+ }
2235
+ .discard-btn {
2236
+ &:hover {
2237
+ background-color: var(--_gray-50);
2238
+ color: var(--_gray-900);
2239
+ }
2240
+ }
2241
+ }
1313
2242
  }
1314
2243
 
1315
2244
  @keyframes rotate-icon {