 :root{
    --darkColor:var(--darkColor);
    --lightColor:#fff;
 }
 
 * {
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            /* margin: 0;
            min-height: 100vh; */
            /* background: linear-gradient(135deg, #ff0808, #db26c3,#e90927, #ff6308); */
            /* display: flex;
            align-items: center;
            justify-content: center;
            color: #fff; */
            background:  rgb(212, 18, 154);
            border: 2% solid rgb(212, 18, 154);
        }
        .wrapper{
            background: #ffff;
            width: 95%;
            margin: 0 2.5%;
        }
        .container{
            padding:0 !important;
        }

        .opinion-container {
            /* width: 95%; */
            max-width: 100%;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(12px);
            /* border-radius: 20px; */
            overflow: hidden;
            display: grid;
            grid-template-columns: 1fr 1fr;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
        }
        p{
            text-align: center;
        }

        .left {
            padding: 40px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
        }

        .left h1,
        .left h2 {
            margin-bottom: 20px;
        }

        .left p {
            line-height: 1.7;
            font-size: 1rem;
            opacity: 0.9;
        }

        .info-box {
            /* margin-top: 30px; */
            padding: 20px;
            /* background: rgb(255 255 255 / 58%); */
            /* border-radius: 12px; */
        }

        .info-box h3 {
            margin-bottom: 10px;
            text-align: center;
            font-size: 1.2rem;
        }

        .right {
            padding: 40px;
            background: rgba(0, 0, 0, 0.25);
        }

        .right h2 {
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

        form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        select,
        textarea {
            width: 100%;
            padding: 14px;
            border-radius: 12px;
            border: none;
            font-size: 0.95rem;
        }

        button {
            padding: 14px;
            border-radius: 30px;
            border: none;
            background: linear-gradient(135deg, #ff512f, #dd2476);
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        }

        .footer-note {
            margin-top: 15px;
            font-size: 0.8rem;
            opacity: 0.7;
        }

        @media (max-width: 900px) {
            .opinion-container {
                grid-template-columns: 1fr;
            }

            .left {
                order: 1;
            }

            .right {
                order: 2;
            }
        }

        /* radio buttons  */
         .group-radio {
                display: flex;
                flex-wrap: wrap;

                align-items: center;
                justify-content: flex-start;
            }

        .radio-card {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 5px 14px;
            margin: 5px;;
            border: 1px solid #ddd;
            background: #fff;
            color: #fff;
            border-radius: 10px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.2s ease;

          
        width: 30%;
        border-radius: 30px;
        }

        .radio-card:hover {
            background: #f7f7f7;
        }

        .radio-card input[type="radio"] {
            accent-color: #2563eb;
            transform: scale(1.2);
        }

        .radio-card .text {
            flex: 1;
            font-size: 16px;
            font-weight: 500;
            color: #000;
        }

        .radio-card img {
            width: 150px;
            height: auto;
            object-fit: cover;
            border-radius: 8px;
        }

        /* Highlight when selected */
        .radio-card input:checked+.text {
            color: #2563eb;
            font-weight: 600;
        }

        .radio-card:has(input:checked) {
            border-color: #2563eb;
            background: #eef3ff;
        }

        /* mood section  */
        .mood-section {
            margin-bottom: 20px;
        }

        .section-title {
            margin-bottom: 12px;
            font-size: 16px;
            font-weight: 600;
        }

        .mood-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
            gap: 14px;
        }

        .mood-card {
            position: relative;
            padding: 16px 10px;
            border-radius: 14px;
            background: #ffffff;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 2px solid transparent;
        }

        .mood-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
        }

        /* Hide radio */
        .mood-card input {
            display: none;
        }

        .mood-card .emoji {
            font-size: 28px;
            display: block;
            margin-bottom: 6px;
        }

        .mood-card .text {
            font-size: 14px;
            font-weight: 500;
            color: #000;
        }

        /* Selected state */
        .mood-card:has(input:checked) {
            border-color: #058d54;
            background: #058d54;
            color: #fff;

        }

        .mood-card:has(input:checked) .text {
            color: #fff;

        }

        .vote_opinion_item {
            box-shadow: 0px 0px 2px 0px #000000;
            padding: 7px;
            background: #fff;
            font-size: 12px;
            margin: 0px 5px;
            color: #000;
            border-radius: 10px;
        }

         .radio-card img {

                width: 0px;
            }
            .modal-content,.modal-header{
                border-radius: 0px !important;
            }
                .modal-dialog:focus-within{
                    border:5px solid var(--darkColor);
                }
                            
            .sidemenu{
                display: none; 
            }

        /* candidate  */
        @media only screen and (max-width: 700px) {

            .candidate-profile img {
                width: 60% !important;
                /* better than min-width */
                height: auto;
            }

            .left {
                padding: 5px;
            }

            .info-box {
                margin-top: 0px;
                padding: 5px;
                border-radius: 0px;
            }

            .info-box h3 {
                text-align: center;
                font-size: 15px;
                margin-top: 20px;
            }

            .info-box p {
                text-align: justify;
            }

            .left p {
                font-size: 14px;
            }

            .right {
                padding: 1px 20px;
            }

            .right h2 {
                font-size: 15px;
                text-align: center;
                margin-bottom: 20px;
                margin-top: 20px;
            }

            .right h3 {
                font-size: 14px;
                text-align: center;
                /* margin-bottom: 20px; */
            }



            .radio-card img {

                width: 0px;
            }

           

            .radio-card {
                padding: 5px 9px;
                margin: 5px;
                width: 30%;
                border-radius: 30px;
                /* box-shadow: 0px 0px 12px 2px #000000; */

            }

            .radio-card .text {
                font-size: 12px;
            }


            .mood-section {
                margin-bottom: 16px;
                display: flex;
                flex-direction: column;
                flex-wrap: wrap;
                align-items: center;
                justify-content: center;
            }

            .mood-card {

                padding: 3px 4px;
                border-radius: 10px;

            }

            .mood-cards {
                grid-template-columns: auto auto;
            }

            .mood-card .emoji {
                font-size: 16px;
                display: inline;
            }

            .mood-card input {
                display: inline;
            }

               .sidemenu{
                z-index: 1;
                display: block;
                top: 104px;
                min-width: 150px;
                font-size: 11px;
                height: 28px;
                background: #f00;
                left: -15px;
                position: absolute;
                color: #fff;
                padding: 5px 10px;
                text-indent: 10px;
                font-weight: bold;
                /* border-top-right-radius: 20px;
                border-bottom-right-radius: 20px; */
                box-shadow: 0px 0px 11px -1px #000;
                        }
        }

        /* slider css  */

        .slider-container {
            display: block;
                position: relative;
                max-width: 100%;
                margin: auto;
                
                border: 7px line;
               
            }

            /* Sliding image */
            .swiper-slide img {
                width: 100%;
                height: 350px;
                object-fit: cover;
                /* border-radius: 12px; */
            }

            .swiper-slide {
                position: relative;
                height: 100%;
            }

            .swiper-slide img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }


            /* Static circular image */
            .static-image {
                position: absolute;
                z-index: 10;
                width: 80px;
                height: 80px;
                border-radius: 50%;
                overflow: hidden;
                border: 3px solid #fff;
                background: #fff;
            }

            .static-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            /* Position options */
            .top-right {
                top: 15px;
                right: 15px;
            }

            .top-center {
                top: 15px;
                left: 50%;
                transform: translateX(-50%);
            }

            .top-left {
                top: 15px;
                left: 15px;
            }

            .mainSlider {
                height: 400px;   /* MUST be fixed */
                overflow: hidden;
            }

            .slider-title{
                position: absolute;
                bottom: -0;
                width: 100%;
                text-align: center;
               height: 56px;
                padding-top: 12px;
                color: #fff;
                backdrop-filter: blur(8px);
                background: rgba(255,255,255,.3);
                font-weight: bold;


            }
            .modalContainer{
                width: 100vw;;
                height: 100vh;
                background: #000000d6;
                display: flex;
                align-items: flex-start;
                justify-content: center;
                position: fixed;
                z-index: 50;
            }
             .modalBox{
                width: 60%;;
                margin-top: 50px;
                height: 50vh;
                background: rgb(255, 255, 255);
                display: flex;
                border-radius: 10px;
                align-items: center;
                justify-content: center;
                position: relative;
}

.your_comment{
    width: 100%;
    height: 60px;
    border-radius: 0px;

    border: 2px solid var(--darkColor);
    text-indent: 15px;
}
.your_comment::placeholder{
     color:var(--darkColor) !important;

}
 input:placeholder-shown{
    color:var(--darkColor) !important;

}
#submitButton{
          width: 90%;
    border-radius: 0px;
    position: fixed;
    min-height: 50px;
    margin: 0 auto;
    bottom: 0;
    right: 5%;
    left: 0;
}


            /* Mobile */
            @media (max-width: 768px) {
                .swiper-slide img {
                    height: 220px;
                }

                .static-image {
                    width: 100px;
                    height: 100px;
                }
                 .mainSlider {
                    height: 260px;
                }
                .modal{
                width: 90%;;
                }
            }

         
