
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background: #f0f4f8;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    background: #00D9A7;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.5rem;
}

.container {
    max-width: 600px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
	overflow-x: hidden; /* Prevent horizontal scrolling */
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 1em; /* Add consistent spacing between steps */
}

.progress-step {
    flex: 1; /* Make each step flexible to share available space */
    max-width: 10em; /* Limit the maximum size of each step */
    text-align: center;
    padding: 10px;
    background-color: #f2f2f2; /* Subtle gray background for inactive steps */
    color: #666666; /* Subtle gray text for inactive steps */
    border: 2px solid #cccccc; /* Subtle gray border for inactive steps */
    font-weight: bold;
    border-radius: 8px;
    width: 100%;
	border-style: none;
    margin: 0; /* Remove extra margins to avoid layout issues */
    transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease;
    opacity: 0.8; /* Slightly dim inactive steps */
}

/* Highlight the active step */
.progress-step.active {
    background-color: #00D9A7; /* Teal background for active steps */
    color: #ffffff; /* White text for active steps */
    border-color: #00D9A7; /* Teal border for active steps */
    opacity: 1; /* Fully opaque for active steps */
}


.progress-step.active {
    background: #00D9A7; /* Highlight active step */
    color: white;
    opacity: 1; /* Full opacity for active step */
}

/* Optional: Add hover effect for inactive steps */
/*.progress-step:not(.active):hover {
    opacity: 0.8; /* Slightly highlight on hover */
  /*  background: #E0F7F4; /* Light tint to indicate interaction */
/*}*/


.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

input, button {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

button {
    background: #00D9A7;
    color: white;
    border: none;
    cursor: pointer;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

        body {
            font-family: 'Roboto', sans-serif;
            background: linear-gradient(135deg, #00D9A7, #22483F);
            margin: 0;
            color: #333;
            display: flex;
            flex-direction: column;
            height: 100vh;
        }

        header {
            background: #00D9A7;
            padding: 20px;
            text-align: center;
            color: white;
            font-size: 1.5em;
        }

        .content {
            display: flex;
            flex: 1;
            overflow: hidden;
        }

        .product-info {
            flex: 1;
			background: linear-gradient(-45deg, #00D9A7, #22483F, #22483F, #00D9A7);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
            
            color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
			@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
			}}

        .product-info h2 {
            margin-bottom: 15px;
            font-size: 2em;
        }

        .product-info p {
            font-size: 1.2em;
            margin: 10px 0;
        }

        .product-image {
            margin-top: 20px;
            width: 80%;
            max-width: 300px;
        }

        .checkout-steps {
            flex: 2;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: white;
			overflow-y: auto; /* Enables vertical scrolling */
        }

        .step {
            display: none;
            width: 100%;
            max-width: 600px;
        }

        .step.active {
            display: block;
        }

        input, button {
            width: 100%;
            margin-bottom: 15px;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1em;
        }

        input:focus {
            outline: none;
            border-color: #00D9A7;
        }

        button {
            background: #00D9A7;
            color: white;
            font-size: 1.2em;
            border: none;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        button:hover {
            background: #0C081F !important;
			color: #FFF !important;
        }

        .toggle-container {
            display: flex;
            justify-content: space-around;
            margin-bottom: 20px;
        }

        .toggle-button {
            padding: 10px 20px;
            border: 2px solid #00D9A7;
            border-radius: 30px;
            background-color: white;
            color: #00D9A7;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .toggle-button.active {
            background-color: #00D9A7;
            color: white;
        }

        .navigation {
            display: flex;
            justify-content: space-between;
            width: 100%;
            max-width: 600px;
        }

        .navigation button {
            width: 48%;
        }

        @media (max-width: 768px) {
            .content {
                flex-direction: column;
            }

            .product-info {
                text-align: center;
            }
        }

.button-container {
    display: flex; /* Use Flexbox for layout */
    justify-content: center; /* Center buttons horizontally */
    gap: 1em; /* Add space between the buttons */
    margin-top: 20px; /* Optional: Add spacing above the buttons */
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #00D9A7; /* Primary color */
    color: white;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #00b38f; /* Slightly darker shade on hover */
    transform: translateY(-2px); /* Subtle lift effect on hover */
}

button:active {
    transform: translateY(1px); /* Button depresses on click */
}

form div button {
  width: 49%;
}

/* Previous button-specific styles */
.btn-prev {
    background-color: #fff !important; /* Distinct color for 'Previous' button */
    color: black !important; /* Ensure text is readable */
	background: none;
}

.btn-prev:hover {
   /* background-color: #e14a4a;*/
	background-color: #FFF !important;
	border-color: black !important;
	color: black !important;
	border-style: none;/* Darker shade on hover */
}



/* Form Section Styling */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

/* Form Row Styling */
.form-row {
    display: flex;
	gap: 0.5em;
}

/* Input Fields */
input {
    flex: 1;
	    flex-direction: column; /* Ensures labels and inputs are stacked */

    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input:focus {
    border-color: #00D9A7;
    outline: none;
}

.full-width-input-form {
    width: 100%; /* Makes inputs span the full width of the container */
    padding: 0.5rem; /* Adds some padding for better usability */
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    border: 1px solid #ccc; /* Optional: Adds a border */
    border-radius: 4px; /* Optional: Adds rounded corners */
}

/*#spinner {
    display: none;
    margin: 10px auto;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #00D9A7;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}*/
/*
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}*/

#spinner {
    display: none;
    margin: 1em auto;
}


.loader {
  display: block;
  position: relative;
  height: 12px;
  width: 80%;
  border: 1px solid #fff;
  border-radius: 10px;
  overflow: hidden;
}

.loader:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #00D9A7;
  animation: 6s prog ease-in-out infinite alternate;
}

@keyframes prog {
  to {
    width: 100%;
  }
}

#loading-messages {
    text-align: center;
    margin-top: 1em;
    font-size: 1rem;
    color: #000;
}

.success-message {
    color: #2ecc71;
    font-weight: bold;
    margin: 10px 0;
}

.error-message {
    color: #e74c3c;
    font-weight: bold;
    margin: 10px 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 10px 0;
}

.toggle-switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 15px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #00d9a7;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* General styling for form inputs */
select, input {
    width: 100%;
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none; /* Removes default dropdown styling */
}

/* Dropdown arrow styling */
select {
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"%3E%3Cpath d="M0 0l5 5 5-5H0z" fill="%23999"/%3E%3C/svg%3E') no-repeat right 10px center;
    background-size: 12px 8px;
}

/* Focus effect for dropdown */
select:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    outline: none;
}

/* Hover effect for dropdown */
select:hover {
    border-color: #00D9A7;
}

/* Style for disabled and placeholder options */
select option[disabled] {
    color: #aaa;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    select, input {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    html, body {
        font-family: 'Roboto', sans-serif;
        margin: 0;
        padding: 0;
        background: #f0f4f8;
        height: auto; /* Allow content to determine height */
        min-height: 100%; /* Ensure minimum height covers the viewport */
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    body {
        display: flex;
        flex-direction: column;
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    .progress-bar {
		visibility: hidden;
      /*  flex-direction: column;  Stack steps vertically */
        align-items: stretch; /* Ensure full-width alignment for steps */
        gap: 10px; /* Increase spacing between steps */
    }

    .progress-step {
		
        width: 100%; /* Full width for each step */
        max-width: none; /* Prevent clipping */
        padding: 15px; /* Add padding for better touch interaction */
        font-size: 1.1rem; /* Slightly increase font size */
    }

    /* Style inputs for better usability on mobile */
    input, select, button {
        font-size: 1.2rem; /* Larger font size for better readability */
        padding: 15px; /* Larger padding for easier touch interaction */
        border-radius: 8px; /* Slightly larger rounded corners */
    }

    input:focus, select:focus {
        border-color: #00D9A7;
        outline: none;
    }

    /* Style buttons for better usability */
    button {
        font-size: 1.2rem; /* Larger font size for buttons */
        padding: 15px 20px; /* Increase padding for larger touch target */
        border-radius: 8px; /* Larger rounded corners */
    }

    /* Adjust button container spacing */
    .button-container {
       /* flex-direction: column;  Stack buttons vertically */
        gap: 15px; /* Add spacing between buttons */
    }

    /* Improve dropdown usability */
    select {
        padding: 15px; /* Increase padding for touch usability */
        font-size: 1.2rem; /* Adjust font size */
    }
	#checkoutForm {
  margin-top: -100px;
}
	div div h2 {
  font-size: 1.4em !important;
}
}

div div h2 {
  text-align: center !important;
}

div div p {
  text-align: center !important;
}

#progressBarContainer {
    width: 100%;
    background: #f3f3f3;
    border: 1px solid #ccc;
    height: 20px;
    margin-bottom: 10px;
    position: relative;
}
#progressBar {
    width: 0;
    height: 100%;
    background: #00D9A7;
    transition: width 0.5s ease-in-out;
}
#progressMessage {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}
#orderSummaryContainer {
    border: 1px solid #00D9A7;
    padding: 15px;
    background-color: #FFF;
    border-radius: 5px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.summary-row strong {
    color: #333;
}

.summary-row span {
    color: #555;
}

form div h2 {
  font-weight: 400 !important;
}

form div hr {
  width: 18%; /* Default width for larger screens */
  border: none; /* Remove default border */
  height: 1px; /* Set the thickness of the line */
  background-color: #00D9A7; /* Apply the desired color */
}

@media (max-width: 768px) { /* Adjust the breakpoint as needed */
  form div hr {
    width: 40%; /* Wider width for mobile devices */
  }
	div.product-info {
  display: none;
}
}

hr {
  width: 18%; /* Default width for larger screens */
  border: none; /* Remove default border */
  height: 1px; /* Set the thickness of the line */
  background-color: #00D9A7; /* Apply the desired color */
}

@media (max-width: 768px) { /* Adjust the breakpoint as needed */
  hr {
    width: 70%; /* Wider width for mobile devices */
  }
	
}

.secure-box {
    position: relative;
    border: 1px solid #00D9A7; /* Green border */
    border-radius: 8px;
    padding: 20px;
     background-color: rgba(0, 217, 167, 0.1); /* Transparent green background */
    margin: 20px 0;
   
}

.padlock-icon {
    position: absolute;
    top: -20px; /* Adjust to make the padlock overlap */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);
    background-color: #00D9A7; /* Green background for the padlock */
    color: #fff;
    border-radius: 50%; /* Circular icon background */
    padding: 10px;
    font-size: 18px;
    
}

@media (min-width: 768px) {
  div.step-content.active {
    max-width: 50%;
    margin: 0 auto; /* Centers the div horizontally within its parent container. */
    flex-direction: column; /* Stacks child elements vertically. */
    align-items: center; /* Centers child elements horizontally. */
    justify-content: center; /* Centers child elements vertically if the parent has a height. */
  }
}

@media (max-width: 767px) {
  div.step-content.active {
    max-width: 100%; /* Full width for mobile screens */
    margin: 0; /* No horizontal margin */
    padding: 0 15px; /* Add some padding for mobile */
  }
	div.checkout-steps {
  padding: 0em !important;
}
}

#payType {
  background-color: #FFF;
}

/* Ensure the checkbox has a consistent size */
.checkbox-row input[type="checkbox"] {
    width: 20px; /* Set a consistent width */
    height: 20px; /* Set a consistent height */
    appearance: none; /* Remove default styles */
    border: 2px solid #00D9A7; /* Border matching the theme */
    border-radius: 4px; /* Optional: Rounded corners */
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    display: inline-block; /* Ensure inline alignment */
    vertical-align: middle; /* Align with the label text */
}

/* Checked state styling */
.checkbox-row input[type="checkbox"]:checked {
    background-color: #00D9A7; /* Checked background color */
    border-color: #00A779; /* Checked border color */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.173 12.581L2.319 8.727a.75.75 0 011.06-1.061l2.794 2.794 5.824-7.157a.75.75 0 111.154.958l-6.5 8a.75.75 0 01-1.07.059z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
}

/* Hover effect */
.checkbox-row input[type="checkbox"]:hover {
    border-color: #00795C;
}

/* Label alignment */
.checkbox-row label {
    margin-left: 8px; /* Space between the checkbox and the label */
    cursor: pointer; /* Make the label clickable */
    color: #333;
    font-size: 16px;
    vertical-align: middle; /* Align label text with the checkbox */
}

div label a {
  color: #00D9A7;
  text-decoration: none;
}

div div h4 {
  text-align: center;
}