@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*
{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root
{
    --cream: #FFF7EB; 
    --light-brown: #F5F1E6;      
    --lighter-brown: #f6f5f1;   
    --dark-brown: #201100;  
    --dark-pink: #cc4d4d;  
    --light-pink: #e0bfac;
    --pink: #E85A5A;        
    --brown: #4d433e;      
    --white: #FFFFFF;
    --body-color: rgb(255, 253, 253);

    --tran-02: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.4s ease;
    --tran-05: all 0.5s ease;
}
@keyframes floatBackground {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
        background-position: 0 0, 0 0;
    }
    50% {
        transform: translate3d(0, -10px, 0) scale(1.05) rotate(10deg);
        background-position: 90px 10px, -10px 100px;
    }
}
body{
    display: flex;
    justify-content: flex-start;
    height: 100vh;
    box-sizing: border-box;
    background: #FFF7EB;  
    margin: 0;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%; 
    height: 200%;
    background: 
        radial-gradient(circle at 30% 70%, #ba515a1e 2px, transparent 1px),
        radial-gradient(circle at 70% 30%, #e3747f23 5px, transparent 2px);
    background-size: 100px 100px, 180px 180px;
    animation: rotate 200s linear infinite;
    z-index: -1; 
    transform-origin: center center;
}
.main-content{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    display: flex;
    width: 1100px;
    max-width: 95%;
    height: 580px;
    padding: 0;
    border-radius: 20px;
    background-color: var(--cream);
    box-shadow: 0px 0px 10px #63636350;
    overflow: hidden;
    animation: fadeIn 1s ease forwards;
    z-index: 5;
    background-color: var(--cream);
    margin: auto;
}

/*CSS for step*/
.steps-container{
  border-bottom: 1.5px solid #ffe9c7c9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background-color: #fff7eb7b;
  padding-top: 20px;
  width: 100%;
}
.steps-container h2{
    padding-bottom: 10px;
}
.steps{
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #fff7eb7b;
    border-top: 1.5px solid #ffe9c7c9;
    width: 100%;
    padding: 10px 0;
}
.step-one,
.step-two,
.step-three,
.step-four{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 10px;
  font-weight: 600;
  margin: 0;
}
.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 0;
  border: 1.5px solid #ff9696;
  display: inline-flex;    
  align-items: center;   
  position: relative; 
  background-color:  var(--pink);
  box-shadow: 0 0 5px var(--pink);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.steps > div:not(:last-child) .dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: 10vw; 
  height: 1px;
  background: linear-gradient(to right, #ff9696, transparent);
  z-index: 1;
  pointer-events: none;
}
.active{
  animation: pulse 2s infinite;
}
.dot:not(.active) {
  transform: scale(0.7);
  background-color: #ffc4c4;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--pink); }
  70% { box-shadow: 0 0 0 10px rgba(46, 213, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
}
.form{
    position: relative;
    color: var(--dark-brown);
    background-color: var(--cream);
    padding: 0;
    width: 100%;
    max-width: 900px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custForm{
    height: 120vh;;
    padding-bottom: 56px;
}
.btn-container
{
  position: fixed;
  margin: 10px;
  left: 0;
  z-index: 10;
  top: 0;
}
.btnBack .fa-arrow-left
{
  padding: 10px 12px;
  font-size: clamp(15px, 1.8vw, 20px);
  background-color: var(--pink);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.24);
  border-radius: 100%;
  color: white;
}
.btnBack .fa-arrow-left:hover
{
  background-color: var(--dark-pink);
  transition: var(--tran-03);
}
.first-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.first-step label,
.second-step label,
.third-step label,
.fourth-step label{
    margin: 0;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 10px;
    margin-left: 5px;
}
.first-step,
.second-step,
.third-step,
.fourth-step{
    overflow-y: auto;
    padding: 40px 50px;
    scrollbar-width: thin;
}
.logo-container  {
    right: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 100%;
    width:65%;
    box-sizing: border-box;
}
.container-elements{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    box-sizing: border-box;
    background: linear-gradient(140deg, var(--dark-brown) 50%, #ffa953 160%);
    z-index: -1;
    border-radius: 20px;
}
.container-elements::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 80px 80px, 120px 120px;
    animation: rotate 100s linear infinite;
    z-index: -1;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.logo-container img{
    width: 200px;
    animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}
.logo-txt{
    display: flex;
    flex-direction: column;
    text-align: right;
    padding: 0 50px;
}
.logo-container  h2 {
    font-size: clamp(40px, 5vw, 65px);
    color: var(--cream);
    line-height: 45px;
    margin-bottom: clamp(0px, 1vw, 25px);
    text-wrap: nowrap;
}   
.logo-container  h3{ 
    background: linear-gradient(
    90deg,
    #debe99,      
    var(--cream) 20%,   
    #debe99);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 3.5s linear infinite; 
    font-size: clamp(15px, 2vw, 20px);
}
@keyframes shine {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0; 
  }
}
.data{
    width: 100%;
    padding: 4px 7px;
    margin-bottom: 5px;
    border-radius: 5px;
    border-bottom: 1px solid #ee939cbd;
    border-right: 1px solid #ee939cc3;
    border-top: 1px solid #ffd6dcb5;
    border-left: 1px solid #ffd6dcd0;
    outline: none;
}
.data:focus-within {
  border-color: var(--pink);
  transition: var(--tran-03);
}
#Gender,
#shopTypeSelect,
#idBarangay {
  color: gray;
}

#Gender:focus,#Gender:valid,
#shopTypeSelect:focus, #shopTypeSelect:valid,
#idBarangay:focus, #idBarangay:valid{
  color: black;
}
.btn-actions{
    width: 100%;
    border-top: 1.5px solid  #ffe9c7c9;
    margin-top: auto;
    padding: 10px 40px;
    display: flex;
}
.submit, #btn-next, #btn-prev {
    background: var(--pink);
    border-top: 2px solid #f07272; 
    border-left: 2px solid #f07272; 
    border-bottom: 2px solid #c94b4b;
    border-right: 2px solid #c94b4b;       
    padding: 5px;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: var(--tran-02);
    font-weight: 800;
    text-transform: uppercase;
}
#btn-next{
    width: 30%;
    margin-left: auto;
}
#btn-prev{
    width: 30%;
}

.submit:hover,
#btn-next:hover{
    background-color: var(--dark-pink);
}
ul{
    font-size: 12px;
    list-style-type: disc; 
    margin-left: 20px; 
    margin-top: 5px;
}
.error {
    color: red;
    font-size: 10px;
    margin: -6px 1px 10px 0;
}

/*sweet alert custom*/
.swal-btn {
  min-width: 100px; /* or any fixed width */
  flex: 1;           /* make both buttons grow equally */
  margin: 10px 8px 10px 8px;     /* optional spacing */
}

/* Success icon color */
.swal2-icon.swal2-success {
  border-color: var(--pink) !important;
  color: var(--pink) !important;
}

.swal2-icon.swal2-success [class^=swal2-success-line],
.swal2-icon.swal2-success [class^=swal2-success-ring] {
  color: var(--pink) !important;
}

/* Info icon color */
.swal2-icon.swal2-warning {
  border-color: var(--dark-pink) !important;
  color: var(--dark-pink) !important;
}

/* Info icon color */
.swal2-icon.swal2-info {
  border-color: var(--medyo-dark) !important;
  color: var(--medyo-dark) !important;
}

/* Error icon color */
.swal2-icon.swal2-error {
  border-color: #c0392b !important;
  color: #c0392b !important;
}

/* ok button */
.swal-ok-btn {
  background-color: var(--dark-pink) !important;
  color: white !important;
  padding: 8px 20px;
  font-weight: bold;
  border-radius: 5px;
  min-width: 100px;
}
.swal2-confirm.swal2-styled {
    background-color: var(--dark-pink) !important;
    color: white !important;
    border: none;
}
/*Css for seller sign up*/
#detectLocationBtn{
    background: var(--pink);
    border: none;
    padding: 10px;
    width: 270px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: var(--tran-02);
    margin: 10px 0;
    width: 100%;
    border-top: 2px solid #f07272; 
    border-left: 2px solid #f07272; 
    border-bottom: 2px solid #c94b4b;
    border-right: 2px solid #c94b4b;    
}
#detectLocationBtn:hover{
    background-color: var(--dark-pink);
}

/*For img-item*/
.img-item {
    background: rgba(255, 255, 255, 0.324);
    border-radius: 16px;
    padding: 10px 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.img-item label {
    display: block;
    color: black;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.img-item .input-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: contain;
    border: 3px dashed #d1d5db;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
    background: #f9fafb;
    padding: 10px;
}
/*
.img-item .input-image:hover {
    border-color: var(--pink);
    background: #f3f4f6;
    transform: scale(1.01);
}*/

.img-item input[type="file"] {
    position: relative;
    display: inline-block;
    margin-top: 16px;
    width: 90%;
    max-width: 400px;
    font-size: 15px;
    background-color: #f9f9f9;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.img-item input[type="file"]:hover{
    border-color: var(--pink);
    transform: scale(1.01);
}
.img-item input[type="file"]::file-selector-button {
    background-color: var(--pink);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    border-top: 2px solid #f07272; 
    border-left: 2px solid #f07272; 
    border-bottom: 2px solid #c94b4b;
    border-right: 2px solid #c94b4b; 
}

.img-item input[type="file"]::file-selector-button:hover {
    background-color: var(--dark-pink);
}

.img-item input[type="file"]::file-selector-button:active {
    transform: scale(0.96);
}
.swal2-loader {
  border-color: var(--pink) transparent var(--pink) transparent !important; /* GCash blue example */
}

@media (max-width: 970px) {
    body{
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        margin: 20px;
        overflow-y: auto;
        height: 100%;
        align-items: center;
    }
    .main-content{
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        max-width: none;
        min-height: 100%;
        height: 100%;
        margin: 10px;
    }
    .logo-container{
        width: 100%;
    }
    .logo-container img{
        width: 150px;
    }    
    .form{
        width: 100%;
        height: 100%;
        border-radius: 0 0 20px 20px;
        box-shadow: 0px 0px 50px #00000050;
    }
    .first-step{
        padding: 20px 20px;
    }
    .second-step,
    .third-step,
    .fourth-step{
        overflow-y: auto;
        padding: 20px 20px;
        scrollbar-width: thin;
    }    
    .btn-actions{
        padding: 20px;
    }
    .form-fields{
        flex-direction: column;
    }
    .data{
        width: 100%;
    }
    .logo-container{
        order: -1;
        height: 350px;
    }
    .container-elements{
        position: relative;
        width: 100%;
        border-radius: 20px 20px 0 0;
    }
    .submit{
        width: 100%;
    }
}

@media (max-width: 499px) {
    .data{
        width: 100%;
    }
    .form-fields{
        gap: 10px;
    }
    ul{
        font-size: 10px;
    }
    .first-item {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
}
/* Modal overlay */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(0.9px);
  -webkit-backdrop-filter: blur(0.9px); 
}
.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background-color: var(--light-brown);
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.modal-content h3{
   color: #201100b9;   
   text-transform: uppercase;
   padding-bottom: 10px;
}
.modal-content p {
  background-color: white;
  border-radius: 5px;
  padding: 30px 50px;
  max-height: 60vh;
  overflow-y: auto;
  scrollbar-width: thin;
}
.close {
  position: absolute;
  top: 10px;
  right: 15px;
   color: var(--dark-brown);   
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.1s ease-in-out;
}

.close:hover {
    transform: scale(1.10);
}

/* Style the checkbox input */
.form-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0 8px 0 0; 
  vertical-align: middle; 
  accent-color: var(--pink);
  cursor: pointer;
}

.form-group label {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #555;
  cursor: pointer;
}

.form-group label a {
  color: var(--pink);
  text-decoration: underline;
  margin-left: 5px;
}

.termsCon{
    margin-top: 20px !important;
    text-transform: capitalize !important;
}
/* Change Swal loading spinner color */
.swal2-loader {
  border-color: #E85A5A transparent #E85A5A transparent !important; 
}

