:root {
    --primary-color: #007bff; /* Primary color */
    --primary-dark: #0056b3; /* Darker shade of primary */
    --gray: #f0f0f0; 
    --white: #fff;
    --black: #333;
  
    --font-family: 'Roboto', sans-serif; 
  }
  
  *,
  *::after,
  *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family); 
  }
  
  body {

    background-color: #330000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 400'%3E%3Cdefs%3E%3CradialGradient id='a' cx='396' cy='281' r='514' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23D18'/%3E%3Cstop offset='1' stop-color='%23330000'/%3E%3C/radialGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='400' y1='148' x2='400' y2='333'%3E%3Cstop offset='0' stop-color='%23FA3' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23FA3' stop-opacity='0.5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='800' height='400'/%3E%3Cg fill-opacity='0.4'%3E%3Ccircle fill='url(%23b)' cx='267.5' cy='61' r='300'/%3E%3Ccircle fill='url(%23b)' cx='532.5' cy='61' r='300'/%3E%3Ccircle fill='url(%23b)' cx='400' cy='30' r='300'/%3E%3C/g%3E%3C/svg%3E");
    
    background-size: cover;
    background-attachment: fixed;
    background-position: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--gray); 
  }
  
  #fme-top-container {
    margin-bottom: 2rem;
    /* padding: 2rem 0; */
    width: 100%;
  }
  
  .fme-build-con {
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);  */
  }
    
  .fme-form-cover {
    background-color: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(8px);
    position: relative;
    top: 2rem;
    border-radius: 8px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);  */
    width: 70% !important;
    padding: 0 2rem 2rem 2rem;
  }
  
  .fme-pages-con {
    position: relative;
    width: 100%;
  }
  
  .fme-page-con {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
  }
  
  .fme-section-con {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--gray);
    background-color: var(--white); 
  }
  

  .fme-section-con h2 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid var(--gray);
  }
  
  .fme-field-con {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    gap: 1rem;
  }
  
  /* Field Styling */
  .fme-field {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
  }
  
  .fme-field>label {
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 500; 
  }
  
  .fme-field>input,
  .fme-field>select {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); 
    transition: border-color 0.2s ease-in-out; 
  
    &:focus {
      border-color: var(--primary-color);
      outline: none;
    }
  }
  
  /* Handling btn Click */
  .fme-nav-btn {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .fme-nav-btn button {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--gray);
    background-color: transparent;
    color: var(--black);
    font-weight: 500; 
    transition: all 0.2s ease-in-out;
    cursor: pointer;
  }
  
  .fme-nav-btn button:hover {
    background-color: var(--gray);
  }
  
  .fme-btn-active {
    border-color: var(--primary-color);
    color: var(--primary-color);
  }
  
  .fme-btn-active:hover {
    background-color: var(--primary-color);
    /* color: var(--white); */
  }
  
  #fme-btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); 
    transition: all 0.2s ease-in-out;
    display: none;
  }
  
  #fme-btn-submit:hover {
    background-color: var(--primary-dark);
  }
  
  /* Handling Repeat Btn style */
  .fme-repeat-con {
    display: flex;
    justify-content: right;
    gap: 0.7rem;
    font-size: 0.9rem;
    padding-top: 0.6rem;
    cursor: pointer;
  }
  
  .fme-repeat-con p {
    color: var(--black);
    transition: all 0.2s ease-in-out;
    text-decoration: underline;
  }
  
  .fme-repeat-con p:hover {
    color: var(--primary-color);
  }
  
  /* Added Repeat Element Style */
  .fme-added-repeat {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
  }
  
  .fme-added-repeat.fme-added-elem-visible {
    opacity: 1;
    transform: scale(1);
  }
  .fme-checkbox {
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
    gap: 0.5rem;
    align-items: center;
}

.fme-checkbox input {
    width: max-content;
}


input[type="checkbox"] {
    /* appearance: none; */
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 0.95em;
    height: 0.95em;
    border: 0.15em solid currentColor;
    border-radius: 0.1em;
}


.fme-page-bar {
    background-color: gray;
}

.fme-page-bar-filled {
    background-color: gray;
}

.fme-page-bar-circ {
    background-color: #fff;
    border: 4px solid blue;
}