/* Clean White Background */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: white;
    animation: fadeIn 1s ease-in-out;
}

/* Fade-in animation for body */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Container */
.container {
    width: 400px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px;
    animation: popIn 0.5s ease-in-out;
}

/* Pop-in effect for form */
@keyframes popIn {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.checktest{
    font-size:18px;
    text-shadow: none;
}
/* Toggle Buttons */
.button-box {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.toggle-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: black;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    position: relative;
}

.toggle-btn.active {
    color: black;
    transform: scale(1.1);
}

.toggle-btn.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 60%;
    height: 3px;
    background-color: #FFC107; /* Letec Bus Yellow */
    border-radius: 3px;
    transform: translateX(-50%);
    animation: underlineSlide 0.3s ease-in-out;
}

/* Underline Slide Animation */
@keyframes underlineSlide {
    from {
        width: 0;
    }
    to {
        width: 60%;
    }
}

/* Input Fields */
.input-field {
    width: 85%;
    padding: 12px;
    margin: 10px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.6);
    color: black;
    font-size: 16px;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
}

.input-field::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.input-field:focus {
    outline: none;
    border-color: #FFC107; /* Letec Bus Yellow */
    transform: scale(1.05);
}

/* Checkbox Styling */
label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
    color: black;
    font-size: 14px;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    background: transparent;
    cursor: pointer;
    appearance: none;
    display: inline-block;
    border-radius: 4px;
    transition: 0.3s;
    position: relative;
}

input[type="checkbox"]:checked {
    background: #FFC107; /* Letec Bus Yellow */
    border-color: #FFC107;
    position: relative;
    animation: bounce 0.3s ease-in-out;
}

input[type="checkbox"]:checked::after {
    content: "✔";
    color: black;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Bounce animation for checkbox */
@keyframes bounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Submit Buttons */
.submit-btn {
    width: 85%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    background: #FFC107; /* Letec Bus Yellow */
    color: black;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

.submit-btn:hover {
    background: #FFD54F; /* Lighter Yellow */
    transform: scale(1.05);
}

/* Hide Forms Initially */
.hidden {
    display: none;
}

/* Smooth Form Slide Animation */
@keyframes slideLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* Step 2 - Personalisation */

#step2 {
    flex-grow: 1;
    overflow-y: auto;
    max-height: calc(100vh - 300px); /* Adjust based on header size */
    padding: 20px;
    overflow-x: hidden;
    background-color: white;
}
/* Prevent scrolling when Step 2 is hidden */
.hidden {
    display: none;
}

/* Section Titles */
#step2 h3 {
    font-size: 18px;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
}

/* Stylish Checkbox Container */
#step2 label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin: 8px 0;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    background: rgba(255, 193, 7, 0.1);
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

#step2 label:hover {
    background: rgba(255, 193, 7, 0.3);
}

/* Custom Checkbox Styling */
#step2 input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #FFC107;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    appearance: none;
    transition: 0.2s;
}

#step2 input[type="checkbox"]:checked {
    background: #FFC107;
    border-color: #FFC107;
    position: relative;
}

#step2 input[type="checkbox"]:checked::after {
    content: "✔";
    font-size: 14px;
    font-weight: bold;
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Dropdown Select Styling */
#step2 select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: white;
    color: black;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

#step2 select:focus {
    border-color: #FFC107;
    outline: none;
    transform: scale(1.02);
}

/* Back & Register Buttons */
#step2 .submit-btn {
    width: 100%;
    margin-top: 15px;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

#step2 .submit-btn:hover {
    transform: scale(1.05);
}
/* Transport Preferences - Tag Selection */
#transport-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.tag {
    padding: 10px 15px;
    background: rgba(255, 193, 7, 0.2);
    color: black;
    border: 2px solid #FFC107;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.tag:hover {
    background: rgba(255, 193, 7, 0.5);
}

.tag.selected {
    background: #FFC107;
    color: black;
    font-weight: bold;
    border-color: #FFC107;
}
