         :root {
        --primary: #4FC0D2;
        --primary-dark: #3da8b9;
        --secondary: #6c757d;
        --success: #28a745;
        --light-bg: #f8f9fa;
        --border-radius: 10px;
        --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        --transition: all 0.3s ease;

    }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background-color: #f5f7f9;
        color: #333;
        line-height: 1.6;
        padding: 0;
        margin: 0;
    }

    /* Header */
    .header {
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
    }

    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        font-size: 24px;
        font-weight: 700;
        color: var(--primary);
        text-decoration: none;
    }

    /* Progress Bar */
    .progress-container {
        margin-bottom: 30px;
    }
    #step2 > p:nth-child(2){
        display: none;
    }
    .progress {
        height: 8px;
        background-color: #e9ecef;
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .progress-bar {
        background-color: var(--primary);
        transition: width 0.4s ease;
    }

    .step-text {
        font-size: 14px;
        color: #6c757d;
    }

    .step-name {
        font-weight: 600;
        color: var(--primary);
    }

    /* Form Container */
    .main {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .card {
        border: none;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        overflow: hidden;
        margin-bottom: 30px;
    }

    .card-header {
        background-color: white;
        padding: 20px;
        border-bottom: 1px solid #f1f1f1;
    }

    .form-step {
        display: none;
        padding: 25px;
    }

    .form-step.active {
        display: block;
        animation: fadeIn 0.5s;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    h4 {
        color: #333;
        font-weight: 600;
        margin-bottom: 15px;
    }

    /* Form Elements */
    .form-control {
        padding: 12px 15px;
        border-radius: 8px;
        border: 1px solid #ced4da;
        transition: var(--transition);
        margin-bottom: 15px;
    }

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.2rem rgba(79, 192, 210, 0.25);
    }

    label {
        font-weight: 500;
        margin-bottom: 8px;
        display: block;
    }
    #step10 > p{
        display: none;
    }
    /* Radio and Checkbox Styles */
    .option-card {
        display: block;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 10px;
        transition: var(--transition);
        cursor: pointer;
        position: relative;
    }

    .option-card:hover {
        border-color: #bbb;
        background-color: #f9f9f9;
    }

    .option-card.selected {
        border-color: var(--primary);
        background-color: rgba(79, 192, 210, 0.05);
    }

    .option-card input {
        position: absolute;
        opacity: 0;
    }

    .option-card .checkmark {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 22px;
        height: 22px;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .option-card.checkbox .checkmark {
        border-radius: 4px;
    }

    .option-card.selected .checkmark {
        background-color: var(--primary);
        border-color: var(--primary);
    }

    .option-card.selected .checkmark::after {
        content: '✓';
        color: white;
        font-size: 14px;
    }

    .scrollable {
        max-height: 350px;
        overflow-y: auto;
        padding-right: 5px;
    }

    .scrollable::-webkit-scrollbar {
        width: 6px;
    }

    .scrollable::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .scrollable::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 10px;
    }

    .scrollable::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

    /* Buttons */
    .btn-custom {
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 600;
        transition: var(--transition);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .btn-primary {
        background-color: var(--primary);
        border-color: var(--primary);
    }

    .btn-primary:hover, .btn-primary:focus {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .btn-secondary {
        background-color: #f1f1f1;
        border-color: #e0e0e0;
        color: #555;
    }

    .btn-secondary:hover, .btn-secondary:focus {
        background-color: #e5e5e5;
        border-color: #d0d0d0;
        color: #333;
        transform: translateY(-2px);
    }

    .button-group {
        display: flex;
        justify-content: center; /* Center the buttons horizontally */
        align-items: center;     /* Center vertically if needed */
        gap: 15px;
        margin-top: 25px;
    }

    .button-group .btn-secondary,
    .button-group .btn-primary {
        flex: 1;
        min-width: 150px; /* Optional: set a min width */
        height: 50px;      /* Equal height */
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #step1 > div.button-group > button{
        width:40px !important;
    }

    /* Weight Loss Chart */
    .chart-container {
        margin: 25px 0;
        padding: 20px;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

 /* Porduct selection on consultation */
 /* Product Selection Step Styles */

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}
.selected-product{
    background-color: var(--primary);
 }
.section-description {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Info Tooltip */
.info-tooltip {
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
    color: #6c757d;
    cursor: pointer;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.info-tooltip:hover {
    background-color: #e9ecef;
}

.info-tooltip i {
    margin-right: 8px;
    color: var(--primary);
    font-size: 18px;
}

/* Product Cards */
.product-grid-container {
    margin-top: 1rem;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background-color: white;
    height: 100%;
    max-height: 280px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d0;
}

.product-card.selected {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.product-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.product-card .checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition);
}

.product-card.selected .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.product-card.selected .checkmark i {
    display: block;
    color: white;
    font-size: 14px;
}

.product-card .checkmark i {
    display: none;
}

.product-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    margin-bottom: 10px;
    padding: 5px;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.product-img-placeholder i {
    font-size: 2rem;
    color: #c0c0c0;
}

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

.product-name {
    font-weight: 600;
    font-size: 12px;
    margin: 5px 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8rem;
}

.product-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 5px;
}

/* Product Details Section */
#product-details-section {
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#product-details-section .card-header {
    background-color: var(--primary-light);
    border-bottom: 1px solid rgba(79, 192, 210, 0.2);
}

#product-details-section .card-header h5 {
    color: #333;
    font-weight: 600;
}

.precautions-list {
    padding-left: 20px;
}

.precautions-list li {
    margin-bottom: 5px;
    color: #555;
}

.related-products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.related-product-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.related-product-item:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.related-product-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 5px;
}

.related-product-item .name {
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cruelty-free-section {
    background-color: #f8fff8;
    border-left: 3px solid #28a745;
    padding: 15px;
    border-radius: 6px;
}

/* Selected Products Table */
#selected-products-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 1.5rem;
}

#selected-products-table table {
    margin-bottom: 0;
}

#selected-products-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    color: #495057;
    font-weight: 600;
}

#selected-products-table .table td,
#selected-products-table .table th {
    padding: 0.75rem;
    vertical-align: middle;
}

#selected-products-table .btn-remove {
    color: #dc3545;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

#selected-products-table .btn-remove:hover {
    color: #bd2130;
}

#selected-products-table tfoot {
    background-color: #f8f9fa;
}

#selected-products-table tfoot td {
    border-top: 2px solid #e9ecef;
}

/* Error Message */
.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 10px;
    border-left: 3px solid #dc3545;
    padding: 8px 12px;
    background-color: rgba(220, 53, 69, 0.05);
    border-radius: 0 4px 4px 0;
    display: none;
}

/* Button Group */
.button-group {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 1.5rem;
}

.btn-custom {
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-custom i {
    font-size: 18px;
}

.btn-custom.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-custom.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Badge */
.badge {
    padding: 8px 12px;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .button-group {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .button-group {
        flex-direction: column;
    }

    .product-card {
        max-height: none;
    }

    #product-details-section .row {
        flex-direction: column;
    }

    #product-details-section .col-md-6:first-child {
        margin-bottom: 1.5rem;
    }
}
#step2 > h4:nth-child(6){

    display:none;
    }
    #step2 > p:nth-child(7){
    display:none;
    }

    .id-upload-section {
    margin-bottom: 2rem;
}

.id-upload-box {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.id-upload-box:hover {
    border-color: #53C0CA;
    background-color: #f0f9fa;
}

.id-upload-box.has-file {
    border-style: solid;
    border-color: #53C0CA;
    background-color: #f0f9fa;
}

.id-upload-icon {
    font-size: 2.5rem;
    color: #53C0CA;
    margin-bottom: 10px;
}

.id-upload-label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.id-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.id-upload-text {
    margin-bottom: 10px;
}

.upload-instructions {
    color: #666;
    font-size: 0.9rem;
}

.file-name {
    font-weight: 500;
    margin-top: 10px;
    word-break: break-all;
}

.upload-preview {
    margin-top: 15px;
    max-height: 200px;
    overflow: hidden;
}

.upload-preview img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.document-icon {
    padding: 20px;
    background-color: #e9f7f9;
    border-radius: 8px;
    display: inline-block;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

/* Webcam section */
.webcam-section {
    margin-bottom: 2rem;
}

.webcam-container {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.webcam-container.active {
    border-style: solid;
    border-color: #53C0CA;
}

.webcam-container.photo-taken {
    background-color: #f0f9fa;
}

#webcam-element {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.selfie-instructions {
    margin-bottom: 15px;
    color: #666;
}

.webcam-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

#start-webcam {
    background-color: #53C0CA;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
}

#capture-webcam {
    background-color: #28a745;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
}

#retake-photo {
    background-color: #dc3545;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
}

/* ID verification tips section */
.verification-tips {
    background-color: #f8f9fa;
    border-left: 4px solid #53C0CA;
    padding: 15px;
    margin-bottom: 2rem;
    border-radius: 0 4px 4px 0;
}

.verification-tips h5 {
    color: #53C0CA;
    margin-bottom: 10px;
}

.verification-tips ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.verification-tips li {
    margin-bottom: 8px;
}

.verification-tips li:last-child {
    margin-bottom: 0;
}

/* Security badge */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #f0f9fa;
    border-radius: 8px;
}

.security-badge i {
    color: #53C0CA;
    font-size: 1.5rem;
    margin-right: 10px;
}

.security-badge p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .webcam-container {
        padding: 15px;
    }

    .id-upload-box {
        padding: 15px;
    }

    .webcam-buttons {
        flex-direction: column;
        gap: 8px;
    }

    #webcam-element {
        max-height: 300px;
    }
}
#step3 > div:nth-child(2) > input.form-control{
    display: none !important;
}


.verification-tips {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
}

.verification-tips h5 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.verification-tips ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.verification-tips li {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.photo-upload-section h5 {
    color: var(--primary-dark);
    font-weight: 600;
}

.photo-upload-box {
    border: 2px dashed var(--primary);
    padding: 1.5rem;
    text-align: center;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.photo-upload-box:hover {
    background-color: #eafafd;
    border-color: var(--primary-dark);
}

.photo-upload-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.photo-upload-label {
    font-weight: 600;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.photo-upload-text {
    font-size: 0.85rem;
    color: var(--secondary);
}

.photo-upload-input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.file-name {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.error-message {
    color: red;
    font-size: 0.85rem;
    display: none;
    margin-top: 0.3rem;
}

.upload-preview {
    margin-top: 0.75rem;
}

.privacy-notice {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary);
}

.privacy-notice h6 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.upload-method {
    transition: all 0.3s ease;
}

.camera-placeholder {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background-color: #f8f9fa;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.camera-container {
    text-align: center;
    margin-bottom: 10px;
}

.webcam-element {
    border: 2px solid #28a745;
    border-radius: 8px;
}

.upload-preview img {
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid #28a745;
}

.upload-options {
    text-align: center;
}

.btn-outline-primary.active,
.btn-outline-success.active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}
