﻿:root {
    --primary-color: rgb(222,91,31);
    --secondary-color: #ccc;
    --completed-color: #5f6982;
    --btn-background-gradient: linear-gradient(100deg, #ff5a64 0%, #faa04b 30%, #d2dc69 70%, #0ef49b 100%);
    --font-size-sm: 12px;
    --font-size-lg: 20px;
    --stepper-margin-top: 34px;
    --stepper-margin-bottom: 20px;
    --btn-shadow-color: rgba(25, 25, 25, 0.2);
}

/* Base Styles */
.stepper-wrapper {
    margin-top: 34px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #F5F5F5;
    width: 100%;
    font-size: 15px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

    .stepper-item::before,
    .stepper-item::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 100%;
        top: 20px;
        z-index: 2;
    }

    .stepper-item::before {
        left: -50%;
    }

    .stepper-item::after {
        left: 50%;
    }

    .stepper-item .step-counter {
        position: relative;
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        border-radius: 2px;
        background: #ccc;
        margin-bottom: 6px;
    }

    .stepper-item.active {
        font-weight: bold;
    }

    .stepper-item.completed .step-counter {
        background-color: rgb(222, 91, 31);
    }

    .stepper-item.completed::after {
        border-bottom-color: rgb(222, 91, 31);
    }

    .stepper-item:first-child::before {
        content: none;
    }

    .stepper-item:last-child::after {
        content: none;
    }
/* Responsive Font Sizes */
@media (max-width: 1200px) {
    .stepper-wrapper {
        font-size: 13px; /* Slightly smaller font for large screens */
    }
}

@media (max-width: 992px) {
    .stepper-wrapper {
        font-size: 12px; /* Medium screens */
    }
}

@media (max-width: 768px) {
    .stepper-wrapper {
        font-size: 10px; /* Small screens */
    }
}

@media (max-width: 576px) {
    .stepper-wrapper {
        font-size: 9px; /* Extra small screens */
    }
}

.btns {
    background-color: #ff9035;
    background-image: var(--btn-background-gradient);
    z-index: 0;
    margin: 0 auto;
    width: 60%;
    border: 1px solid;
    border-radius: 4px;
    display: block;
    box-shadow: 0 2px 4px -1px var(--btn-shadow-color);
}

    .btns input {
        display: none;
    }

    .btns label {
        display: flex;
        float: left;
        width: 33%;
        height: 100%;
        text-align: center;
        border-left: 1px solid rgba(0, 0, 0, 0.05);
    }

        .btns label:first-child {
            border-left: none;
        }

        .btns label:last-child {
            width: 34%;
        }

    .btns .btn {
        font-size: 18px;
        cursor: pointer;
        width: 100%;
        display: table-cell;
        vertical-align: middle;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        box-shadow: inset 0 30px 20px -20px rgba(255, 255, 255, 0.15);
        transition: color 250ms, box-shadow 250ms;
    }

        .btns .btn:hover {
            box-shadow: inset 0 30px 30px -20px rgba(50, 50, 50, 0.02);
        }

        .btns .btn:after {
            content: "✔";
            margin-left: -10px;
            display: inline-block;
            transform: scale(0);
            transition: margin 250ms, transform 250ms;
        }

    .btns input:checked + .btn {
        color: var(--completed-color);
        text-shadow: none;
        background-image: linear-gradient(to top, rgba(25, 25, 25, 0) 65%, rgba(25, 25, 25, 0.08));
        box-shadow: inset 0 10px 50px rgba(25, 25, 25, 0.08);
        transition: color 500ms, box-shadow 150ms;
    }

        .btns input:checked + .btn:after {
            margin-left: 12px;
            transform: scale(1.25);
        }
