/* Homepage Styles */

.home-grid img {
    height: 200px !important;
    max-height: 200px !important;
}

.left-40 {
    left: 40%;
}

textarea {
    width: 100%;  /* Full width of the container */
    height: 170px !important;  /* Set the height */
    padding: 10px;  /* Padding inside the textarea */
    font-size: 16px;  /* Font size of the text */
    border: 1px solid #ccc;  /* Border color and style */
    border-radius: 4px;  /* Rounded corners */
    box-sizing: border-box;  /* Ensures padding and border are included in the element's width and height */
    resize: vertical;  /* Allows vertical resizing (disable with 'none') */
}

/* General Styles for Steps */
.step {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
}

/* Step Titles */
.step h2 {
    font-size: 1.5rem;
    line-height:1.7rem;
    color: #333;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    text-align: center;
}

.step h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-top: 5px;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    text-align: center;
}

.profiler-separator {
    border-bottom: 2px solid #ff6716;
    width:30%;
    margin: 0 auto;
}

/* Primary Buttons */
button {
    margin-top: 20px !important;
    padding: 12px 25px !important;
    background-color: #ff6716 !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #e25738 !important;
    transform: translateY(-3px);
}

/* Custom Button for Start Again */
button#start-again {
    margin-right: 10px;
}

/* Email Step Styles */
.step-email {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: none;
}

.step-email h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 25px;
}

.step-email label {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 8px;
}

.step-email input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    background: #f9f9f9;
}

.step-email button {
    padding: 12px 30px;
    background-color: #ff6716;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.step-email button:hover {
    background-color: #e25738;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Responsive layout */
    gap: 20px;
}

.category-item {
    background: #ff6716;
    border: 2px solid transparent;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90px; /* Set your desired height */
    width: 100%; /* Ensure full width or specify a fixed width */
}

.category-item:hover,
.category-item.selected {
    transform: translateY(-15px); /* Move the item up by 15px */
    border-color: #ff6716;
    box-shadow: none; /* Remove the box shadow */

    position: relative; /* Ensure the ::after line is positioned correctly */
}

.category-item.selected::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80%;
    height: 3px;
    background-color: #ff6716;
}

.image-container {
    margin-bottom: 10px;
}

.category-item span {
    display: block;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

/* Hide Radio Button */
.category-radio {
    display: none;
}

/* Progress Bar Container Styles */
.progress-container {
    width: 100%;
    background-color: #e8e8e8;
    height: 30px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg, 
        #f0f0f0 25%, 
        #ffffff 25%, 
        #ffffff 50%, 
        #f0f0f0 50%, 
        #f0f0f0 75%, 
        #ffffff 75%, 
        #ffffff 100%
    );
    background-size: 40px 40px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-bar {
    height: 100%;
    background: linear-gradient(
        135deg, 
        #ff6b4a 25%, 
        #ff884a 25%, 
        #ff884a 50%, 
        #ff6b4a 50%, 
        #ff6b4a 75%, 
        #ff884a 75%, 
        #ff884a 100%
    );
    background-size: 40px 40px;
    width: 0%;
    transition: width 0.5s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ensure percentage text stays in the center of the bar */
.progress-bar span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);  /* Center the text horizontally */
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;  /* Ensure text is visible */
}

/* Progress Text Below Bar */
.progress-text {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Modern Input Styles */
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    border: none !important;
    border-radius: 0px !important;
    border-bottom: 2px solid #ff6716 !important;
    font-size: 18px !important;
    font-weight: 600;
    color: #ff6716 !important;
    padding: 8px 0 !important;
    width: 100% !important;
    outline: none !important;
    margin-bottom: 20px !important;
    background-color: #fff !important;
    background:#fff;
}

/* Custom Checkbox Styles */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    accent-color: #ff6716;
}

input[type="checkbox"]:checked::before {
    content: "✓";
    position: absolute;
    color: #fff;
    font-size: 16px;
}

/* Custom Slider Styles */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    margin: 10px 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ff3300;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ff6716;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-ms-thumb {
    width: 20px;
    height: 20px;
    background: #ff6716;
    border-radius: 50%;
    cursor: pointer;
}

/* Slider Value Styles */
.slider-value {
    display: inline-block;
    font-size: 16px;
    color: #ff6716;
    margin-left: 10px;
}


/* Currency Switcher Styles */
.currency-toggle {
    margin: 0 5px;
    font-size: 1.2em;
    color: #ff6716;
    cursor: pointer;
}

.currency-toggle:hover {
    color: #000;
}

.currency-toggle[style*="font-weight:bold"] {
    color: #000;
}


/* Base Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

th, td {
    padding: 15px;
    text-align: left;
    font-size: 0.9rem !important;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #ff6716;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
}

td {
    background-color: #f7f7f7;
    color: #222;
}

tr:hover td {
    background-color: #f1f1f1;
}

tr:nth-child(even) td {
    background-color: #f5f5f5;
}

/* Responsive Table for Small Screens */
@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }

    thead {
        display: none; /* Hide table headers */
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 10px;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
        border-bottom: 1px solid #ddd;
        font-size: 0.9rem;
    }

    /* Label styling for data cells */
    td:before {
        content: attr(data-label); /* Display the label set in data-label */
        font-weight: bold;
        text-transform: uppercase;
        color: #ff6716;
        flex-basis: 50%;
        text-align: left;
    }

    td:last-child {
        border-bottom: none; /* Remove bottom border for the last cell in each "row" */
    }
}

/* Checkbox Styles */
.checkbox-wrapper-se {
    --text: #414856;
    --check: #ff6b4a;
    --disabled: #C3C8DE;
    --border-radius: 10px;
    border-radius: var(--border-radius);
    position: relative;
    padding: 5px;
    display: grid;
    grid-template-columns: 30px auto;
    align-items: center;
  }
  .checkbox-wrapper-se label {
    color: var(--text);
    position: relative;
    cursor: pointer;
    display: grid;
    align-items: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    transition: color 0.3s ease;
  }
  .checkbox-wrapper-se label::before,
  .checkbox-wrapper-se label::after {
    content: "";
    position: absolute;
  }
  .checkbox-wrapper-se label::before {
    height: 2px;
    width: 8px;
    left: -27px;
    background: var(--check);
    border-radius: 2px;
    transition: background 0.3s ease;
  }
  .checkbox-wrapper-se label:after {
    height: 4px;
    width: 4px;
    top: 8px;
    left: -25px;
    border-radius: 50%;
  }
  .checkbox-wrapper-se input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    height: 15px;
    width: 15px;
    outline: none;
    border: 0;
    margin: 0 15px 0 0;
    cursor: pointer;
    background: var(--background);
    display: grid;
    align-items: center;
  }
  .checkbox-wrapper-se input[type=checkbox]::before, .checkbox-wrapper-se input[type=checkbox]::after {
    content: "";
    position: absolute;
    height: 2px;
    top: auto;
    background: var(--check);
    border-radius: 2px;
  }
  .checkbox-wrapper-se input[type=checkbox]::before {
    width: 0px;
    right: 60%;
    transform-origin: right bottom;
  }
  .checkbox-wrapper-se input[type=checkbox]::after {
    width: 0px;
    left: 40%;
    transform-origin: left bottom;
  }
  .checkbox-wrapper-se input[type=checkbox]:checked::before {
    -webkit-animation: check-01-se 0.4s ease forwards;
            animation: check-01-se 0.4s ease forwards;
  }
  .checkbox-wrapper-se input[type=checkbox]:checked::after {
    -webkit-animation: check-02-se 0.4s ease forwards;
            animation: check-02-se 0.4s ease forwards;
  }
  .checkbox-wrapper-se input[type=checkbox]:checked + label {
    font-weight: 600;
    -webkit-animation: move-se 0.3s ease 0.1s forwards;
            animation: move-se 0.3s ease 0.1s forwards;
  }
  .checkbox-wrapper-se input[type=checkbox]:checked + label::before {
    display:none;
    -webkit-animation: slice-se 0.4s ease forwards;
            animation: slice-se 0.4s ease forwards;
  }
  .checkbox-wrapper-se input[type=checkbox]:checked + label::after {
    -webkit-animation: firework-se 0.5s ease forwards 0.1s;
            animation: firework-se 0.5s ease forwards 0.1s;
  }

  @-webkit-keyframes move-se {
    50% {
      padding-left: 8px;
      padding-right: 0px;
    }
    100% {
      padding-right: 4px;
    }
  }

  @keyframes move-se {
    50% {
      padding-left: 8px;
      padding-right: 0px;
    }
    100% {
      padding-right: 4px;
    }
  }
  @-webkit-keyframes slice-se {
    60% {
      width: 100%;
      left: 4px;
    }
    100% {
      width: 100%;
      left: -2px;
      padding-left: 0;
    }
  }
  @keyframes slice-se {
    60% {
      width: 100%;
      left: 4px;
    }
    100% {
      width: 100%;
      left: -2px;
      padding-left: 0;
    }
  }
  @-webkit-keyframes check-01-se {
    0% {
      width: 4px;
      top: auto;
      transform: rotate(0);
    }
    50% {
      width: 0px;
      top: auto;
      transform: rotate(0);
    }
    51% {
      width: 0px;
      top: 8px;
      transform: rotate(45deg);
    }
    100% {
      width: 5px;
      top: 8px;
      transform: rotate(45deg);
    }
  }
  @keyframes check-01-se {
    0% {
      width: 4px;
      top: auto;
      transform: rotate(0);
    }
    50% {
      width: 0px;
      top: auto;
      transform: rotate(0);
    }
    51% {
      width: 0px;
      top: 8px;
      transform: rotate(45deg);
    }
    100% {
      width: 5px;
      top: 8px;
      transform: rotate(45deg);
    }
  }
  @-webkit-keyframes check-02-se {
    0% {
      width: 4px;
      top: auto;
      transform: rotate(0);
    }
    50% {
      width: 0px;
      top: auto;
      transform: rotate(0);
    }
    51% {
      width: 0px;
      top: 8px;
      transform: rotate(-45deg);
    }
    100% {
      width: 10px;
      top: 8px;
      transform: rotate(-45deg);
    }
  }
  @keyframes check-02-se {
    0% {
      width: 4px;
      top: auto;
      transform: rotate(0);
    }
    50% {
      width: 0px;
      top: auto;
      transform: rotate(0);
    }
    51% {
      width: 0px;
      top: 8px;
      transform: rotate(-45deg);
    }
    100% {
      width: 10px;
      top: 8px;
      transform: rotate(-45deg);
    }
  }
  @-webkit-keyframes firework-se {
    0% {
      opacity: 1;
      box-shadow: 0 0 0 -2px #ff6b4a, 0 0 0 -2px #ff6b4a, 0 0 0 -2px #ff6b4a, 0 0 0 -2px #ff6b4a, 0 0 0 -2px #ff6b4a, 0 0 0 -2px #ff6b4a;
    }
    30% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      box-shadow: 0 -15px 0 0px #ff6b4a, 14px -8px 0 0px #ff6b4a, 14px 8px 0 0px #ff6b4a, 0 15px 0 0px #ff6b4a, -14px 8px 0 0px #ff6b4a, -14px -8px 0 0px #ff6b4a;
    }
  }
  @keyframes firework-se {
    0% {
      opacity: 1;
      box-shadow: 0 0 0 -2px #ff6b4a, 0 0 0 -2px #ff6b4a, 0 0 0 -2px #ff6b4a, 0 0 0 -2px #ff6b4a, 0 0 0 -2px #ff6b4a, 0 0 0 -2px #ff6b4a;
    }
    30% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      box-shadow: 0 -15px 0 0px #ff6b4a, 14px -8px 0 0px #ff6b4a, 14px 8px 0 0px #ff6b4a, 0 15px 0 0px #ff6b4a, -14px 8px 0 0px #ff6b4a, -14px -8px 0 0px #ff6b4a;
    }
  }
  
  
  
  
  .toggle-container {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0; /* Hide the default checkbox */
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px; /* Rounded corners */
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* When the checkbox is checked, change the background and position the knob */
input:checked + .slider {
    background-color: #ff6b4a; /* Blue background */
}

input:checked + .slider:before {
    transform: translateX(20px); /* Move knob to the right */
}




/* Mobile Styles (600px) */

@media (max-width: 768px) {
    
.hme-grid {
    text-align: center !important;
}

}


.my-account {
    padding: 20px;
    background-color: #f9f9f9;
}

.account-navigation {
    margin-bottom: 20px;
}

.account-navigation ul {
    list-style: none;
    padding: 0;
}

.account-navigation li {
    display: inline;
    margin-right: 15px;
}

.account-navigation a {
    text-decoration: none;
    color: #007cba;
}

.account-navigation a:hover {
    text-decoration: underline;
}
