﻿/* Yes/No Large Circle Buttons STATR */
.custom-yesno-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin: 50px 0;
    padding: 20px;
}

.custom-yesno-option {
    position: relative;
}

    .custom-yesno-option input[type="radio"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        width: 0;
        height: 0;
    }

.custom-yesno-label {
    display: block;
    cursor: pointer;
}

.custom-yesno-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 6px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* YES Circle - Orange/Yellow Gradient */
.yes-circle {
    background: linear-gradient(135deg, #E0E0E0 0%, #BDBDBD 100%);
}

/* NO Circle - Gray/White */
.no-circle {
    background: linear-gradient(135deg, #E0E0E0 0%, #BDBDBD 100%);
}

.custom-yesno-text {
    font-size: 2.5rem;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

/* Hover Effects */
.custom-yesno-label:hover .custom-yesno-circle {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.custom-yesno-label:hover .yes-circle {
    background: linear-gradient(135deg, #FFC866 0%, #FFA319 100%);
}

.custom-yesno-label:hover .no-circle {
    background: linear-gradient(135deg, #FFC866 0%, #FFA319 100%);
}

/* Selected State */
.custom-yesno-option input[type="radio"]:checked + .custom-yesno-label .custom-yesno-circle {
    transform: scale(1.1);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
    border-width: 8px;
}

.custom-yesno-option input[type="radio"]:checked + .custom-yesno-label .yes-circle {
    background: linear-gradient(135deg, #FFD17A 0%, #FFB84D 100%);
    box-shadow: 0 15px 45px rgba(255, 152, 0, 0.6);
}

.custom-yesno-option input[type="radio"]:checked + .custom-yesno-label .no-circle {
    background: linear-gradient(135deg, #FFD17A 0%, #FFB84D 100%);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}

/* Active/Press Effect */
.custom-yesno-label:active .custom-yesno-circle {
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-yesno-container {
        gap: 40px;
        margin: 40px 0;
    }

    .custom-yesno-circle {
        width: 150px;
        height: 150px;
        border-width: 5px;
    }

    .custom-yesno-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .custom-yesno-container {
        gap: 30px;
        margin: 30px 0;
    }

    .custom-yesno-circle {
        width: 120px;
        height: 120px;
        border-width: 4px;
    }

    .custom-yesno-text {
        font-size: 2rem;
    }
}
/* Yes/No Large Circle Buttons END */



body {
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}

.container {
    /* max-width: 820px;
        padding: 20px; */
}

.no-scroll .img-logo, .no-scroll .img-banner {
    margin-top: 0;
    margin-bottom: 0;
}

main .container {
    min-height: calc(100vh - 11rem);
    display: flex;
}

.img-banner {
    max-height: 120px;
    object-fit: contain;
}

.display-4 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Pink Header Box */
.text-center h2 {
    background: linear-gradient(135deg, #E94B8F 0%, #D6457A 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 1.5rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(233, 75, 143, 0.4);
    margin-bottom: 40px;
    font-size: 1.5rem;
}

.step-container {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    max-height: 65vh;
    overflow: auto;
    padding: 0 1rem;
}

    .step-container.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-bar-container {
    margin-bottom: 40px;
}

.step-indicator {
    font-size: 18px;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

.progress {
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
    transition: width 0.4s ease;
}

/* Question Styling */
.step-container p,
.step-container label {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    line-height: 1.5;
}

.form-check label {
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50rem;
    padding: 15px 3rem;
}

.step-container .fs-5 {
    font-size: 1.75rem !important;
    text-align: center;
    display: block;
}

.form-label.fs-5.fw-medium {
    display: block;
    margin-top: 3rem;
    margin-bottom: -2rem;
    border-bottom: 1px solid;
    padding-bottom: 1rem;
}

.step-container .small {
    font-size: 1.5rem;
}

/* Star Rating */
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

    .rating input {
        display: none;
    }

    .rating label {
        font-size: 3rem;
        color: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        margin-bottom: 0;

	background-image: url(../images/star.png);
	background-size: contain;
	background-repeat: no-repeat;
	color: transparent;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

        .rating label:hover,
        .rating label:hover ~ label,
        .rating input:checked ~ label {
            color: #FFD700;
            text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
            transform: scale(1.1);


	background-image: url(../images/star-hover.png);
	background-size: contain;
	background-repeat: no-repeat;
	color: transparent;
	text-shadow: none;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

/* Checkbox and Radio Styling */
.form-check {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 5px;
    border-radius: 50rem;
    margin-top: 15px;
    transition: all 0.3s ease;
}

    .form-check:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.4);
        transform: translateX(5px);
    }

.form-check-input {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    cursor: pointer;
    border: 2px solid white;
    background-color: transparent;
}

    .form-check-input:checked {
        background-color: #FFB84D;
        border-color: #FFB84D;
        box-shadow: 0 0 10px rgba(255, 184, 77, 0.6);
    }

.form-check-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    margin-bottom: 0;
}

/* Button Styling - Pill Shaped */
.btn {
    border-radius: 50px !important;
    padding: 15px 60px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    }

/* Pink/Red Next Button */
#nextBtn,
#submitBtn {
    background: linear-gradient(135deg, #E94B8F 0%, #D6457A 100%);
    color: white;
    border-color: white;
    width: auto;
}

    #nextBtn:hover,
    #submitBtn:hover {
        background: linear-gradient(135deg, #D6457A 0%, #C23865 100%);
    }

.btn {
    background: linear-gradient(90deg, #B92F9F 0%, #F23440 100%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    padding: .5rem 8rem;
    border: 5px solid white;
    border-radius: 80px;
    text-decoration: none;
    display: inline-block;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
        border-radius: 80px 80px 0 0;
        pointer-events: none;
    }

    .btn::after {
        content: '';
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        height: 40%;
        background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
        border-radius: 70px 70px 0 0;
        pointer-events: none;
        filter: blur(8px);
    }

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.5);
        background: linear-gradient(180deg, #F50057 0%, #C2185B 100%);
        color: white;
        text-decoration: none;
    }

        .btn:hover::after {
            background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
        }

/* Cyan Submit Button (for final step) */
.btn-success,
.bg-success {
    background: linear-gradient(135deg, #00D4FF 0%, #00A8CC 100%) !important;
    border-color: white;
}

    .btn-success:hover,
    .bg-success:hover {
        background: linear-gradient(135deg, #00A8CC 0%, #007A99 100%) !important;
    }

/* Previous Button */
#prevBtn,
.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

    #prevBtn:hover,
    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.3);
    }

/* Dark Button */
.btn-dark,
.bg-dark {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: white;
}

    .btn-dark:hover,
    .bg-dark:hover {
        background: rgba(0, 0, 0, 0.6) !important;
    }

/* Textarea Styling */
.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 15px;
    font-size: 1.1rem;
    color: #333;
}

    .form-control:focus {
        background: white;
        border-color: #4A90E2;
        box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
    }

/* Error Messages */
.invalid-feedback {
    color: #FFE5E5;
    background: rgba(255, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 10px;
    display: none;
    font-weight: 600;
}

/* Selected State for Multi-choice buttons */
.form-check-input:checked + .form-check-label {
    color: #FFB84D;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 1.5rem;
    }

    .rating label {
        font-size: 3rem;
        gap: 10px;
    }

    .btn {
        padding: 12px 40px;
        font-size: 1.1rem;
    }

    .form-check-label {
        font-size: 1rem;
    }

    .step-container p,
    .step-container label {
        font-size: 1.1rem;
    }
}

/* Additional styling for other text inputs */
input[type="text"].form-control {
    margin-top: 10px;
}

/* Logo styling */
.row img {
    filter: brightness(1.2);
}


/* Replace the existing checkbox and radio styling section with this updated code */

/* Checkbox and Radio Styling - Pill Button Style */
.form-check {
    background: rgba(200, 200, 220, 0.5);
    backdrop-filter: blur(10px);
    padding: 5px;
    border-radius: 50rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-align: center;
}

    .form-check:hover {
        background: rgba(200, 200, 220, 0.7);
        border-color: rgba(255, 255, 255, 0.6);
        transform: scale(1.02);
    }

/* Hide default checkbox/radio */
.form-check-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

    /* Selected State - Yellow/Orange Gradient */
    .form-check-input:checked + .form-check-label {
        color: #333;
        font-weight: 700;
    }

.form-check:has(.form-check-input:checked) {
    background: linear-gradient(135deg, #FFB84D 0%, #FF9800 100%);
    border-color: rgba(255, 152, 0, 0.8);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    transform: scale(1.02);
}

.form-check-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    margin-bottom: 0;
    width: 100%;
    display: block;
}

/* Remove checkmark/radio circle visuals since we're using pill buttons */
.form-check-input::before,
.form-check-input::after {
    display: none;
}

/* Additional hover effect for the label */
.form-check:hover .form-check-label {
    color: #222;
}

/* Active/pressed state */
.form-check:active {
    transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-check {
        padding: 5px;
    }

    .form-check-label {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .form-check {
        padding: 5px;
    }

    .form-check-label {
        font-size: 1rem;
    }
}

textarea {
    background-color: transparent !important;
    border-radius: 0 !important;
    color: #fff !important;
    margin-top: 2rem;
}
