﻿@charset "UTF-8";
/* Consolidated from inline <style> in _FooterPartial.cshtml -> W3C-valid + CSP-clean. Order/cascade preserved. */

    /* --------------------------- */
    /* MAIN FEEDBACK CARD STYLING */
    /* --------------------------- */

    .info-row {
        display: flex;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .label {
        width: 113px; /* label fixed width */
        font-weight: 600;
        flex-shrink: 0;
    }

    .value {
        flex: 1;
    }


    .feedback-card {
        background: #fff;
        border-radius: 16px;
        padding: 0.9rem;
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
    }

        /* Label */
        .feedback-card .form-label {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 5px;
            font-size: 0.95rem;
        }

        /* Input fields */
        .feedback-card .form-control {
            padding: 8px 12px;
            border-radius: 10px;
            font-size: 0.95rem;
        }

        /* Textarea */
        .feedback-card textarea {
            min-height: 90px;
        }

    /* --------------------------- */
    /* ⭐ RATING SECTION — UPGRADE */
    /* --------------------------- */
    /* Keep label above, stars below */
    .rating-wrapper {
        display: -webkit-inline-box;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    /* Stars container always stays in one line */
    .star-rating {
        display: inline-flex;
        gap: 10px;
        white-space: nowrap;
    }

        /* Individual stars */
        .star-rating .star {
            font-size: 2rem;
            color: #333333; /* WCAG: 12.6:1 on white / ~10:1 on light themes — passes AA+AAA in every checker */
            cursor: pointer;
            transition: color .25s ease, transform .25s ease;
        }

            /* Hover animation */
            .star-rating .star:hover {
                color: #92400e; /* Dark Brown/Gold for accessibility (5.6:1) */
                transform: scale(1.25);
            }

            /* Selected stars */
            .star-rating .star.selected {
                color: #92400e; /* Dark Brown/Gold for accessibility (5.6:1) */
                transform: scale(1.15);
            }

    /* Mobile */
    @media (max-width: 576px) {
        .rating-wrapper {
            align-items: center;
        }

        .star-rating .star {
            font-size: 2.3rem;
        }
    }

    /* --------------------------- */
    /* 📱 MOBILE RESPONSIVENESS    */
    /* --------------------------- */

    @media (max-width: 576px) {

        .feedback-card {
            padding: 16px 18px;
        }
            /* Label smaller on mobile */
            .feedback-card .form-label {
                font-size: 0.88rem;
            }

            .feedback-card .form-control {
                font-size: 0.88rem;
                padding: 8px;
            }
        /* Keep rating in one line */
        .rating-wrapper {
            flex-direction: row !important;
            justify-content: center;
            align-items: center;
            gap: 8px;
        }
        /* Stars centered */
        .star-rating {
            justify-content: center;
            gap: 10px;
        }
            /* Bigger tappable stars */
            .star-rating .star {
                font-size: 2.2rem;
            }

        .btn-submit {
            width: 100%;
            padding: 10px;
            font-size: 1rem;
        }
    }

    .feedback-heading {
        font-size: 2rem;
        padding: 0.2rem;
    }

    .g-3, .gy-3 {
        --bs-gutter-y: 0.5rem;
    }
    /* GIGW Compliant Input Borders */
    .form-control {
        border: 0.2px solid #8a8a8a !important; /* Dark grey — WCAG PASS */
        color: #000;
    }

        /* Clear, visible focus */
        .form-control:focus {
            border-color: #000 !important;
            box-shadow: 0 0 0 1px #000 !important;
            outline: none !important;
        }


    .link-box-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .links-track {
        display: flex;
        flex-wrap: nowrap;
        will-change: transform;
    }

    .link-item {
        flex: 0 0 auto;
        margin: 0 12px;
    }

        .link-item img {
            max-height: 80px;
            transition: transform .2s ease-in-out;
        }

            .link-item img:hover {
                transform: scale(1.08);
            }

    .scroll-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.9);
        border: none;
        font-size: 28px;
        cursor: pointer;
        z-index: 10;
        padding: 8px 14px;
        border-radius: 50%;
    }

        .scroll-btn.prev {
            left: 5px;
        }

        .scroll-btn.next {
            right: 5px;
        }

        .scroll-btn.playpause {
            left: 50%;
            transform: translate(-50%, -50%);
        }

    .link-item {
        flex: 0 0 auto;
        margin: 0 14px;
    }

    .link-card {
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 4px 18px rgba(0,0,0,0.12);
        padding: 10px;
        width: 225px; /* Default desktop size +85*/
        height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform .25s ease, box-shadow .25s ease;
    }

        .link-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.16);
        }

        .link-card img {
            max-height: 80px;
            width: auto;
            max-width: 100%;
        }

    /* -----------------------
               RESPONSIVE DESIGN
            ------------------------*/

    /* Tablet */
    @media (max-width: 992px) {
        .link-card {
            width: 205px;
            height: 95px;
            padding: 8px;
        }

            .link-card img {
                max-height: 65px;
            }
    }

    /* Mobile */
    @media (max-width: 576px) {
        .link-card {
            width: 180px;
            height: 80px;
            padding: 6px;
            border-radius: 10px;
        }

            .link-card img {
                max-height: 55px;
            }
    }

    .custom-border {
        border: solid #000 1px;
        border-radius: 6px;
        padding: 0.5rem;
    }

    /* .modal-content {
        width: 80%;
    } */

    /* Card */
    .mygov-card {
        border-radius: 18px;
        overflow: hidden;
        border: none;
    }

    /* Header */
    .mygov-header {
        background: #fde6c8; /* MyGov peach */
        padding: 18px 24px;
    }

        .mygov-header h5 {
            font-size: 22px;
            color: #000;
        }

    .designation-text {
        font-size: 14px;
        color: #444;
    }

    /* Body */
    .mygov-body {
        position: relative;
        background: #eeeeee;
        padding: 30px;
    }

    /* Watermark */
    .watermark {
        position: absolute;
        right: 20px;
        bottom: 20px;
        font-size: 70px;
        font-weight: 700;
        color: rgba(0, 0, 0, 0.05);
        text-align: right;
        line-height: 0.9;
        pointer-events: none;
    }

        .watermark span {
            font-size: 24px;
        }

    /* Emblem */
    .emblem-img {
        max-width: 65px;
    }

    /* Text */
    .info-text p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .info-text i {
        color: #f59e0b;
        margin-right: 8px;
    }

    /* Mobile Responsive */
    @media (max-width: 767px) {
        .mygov-header h5 {
            font-size: 18px;
        }

        .designation-text {
            font-size: 13px;
        }

        .mygov-body {
            padding: 20px;
        }

        .watermark {
            font-size: 40px;
        }

        .emblem-img {
            margin-bottom: 15px;
        }
    }

    /* .modal .modal-dialog .modal-content .modal-body {
        padding: 22px !important;
    } */

    .mygov-pill-header1 {
        background: #fdebd3; /* Light peach */
        border-radius: 60px 0 0 60px;
        padding: 20px 30px;
        position: relative;
        overflow: hidden;
    }

        /* Decorative Circles (Right side) */
        .mygov-pill-header::after {
            content: "";
            position: absolute;
            right: -80px;
            top: -40px;
            width: 220px;
            height: 220px;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,0.6);
        }

        .mygov-pill-header::before {
            content: "";
            position: absolute;
            right: -30px;
            top: 20px;
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,0.4);
        }

    .pill-text h3 {
        font-size: 24px;
        color: #000;
    }

    .pill-designation {
        font-size: 18px;
        color: #000;
    }

    .pill-close {
        z-index: 2;
    }

    @media (max-width: 576px) {
        .pill-text h3 {
            font-size: 20px;
        }

        .pill-designation {
            font-size: 16px;
        }
    }

    .mygov-body {
        background: #ededed;
        padding: 40px;
        overflow: hidden;
    }

    /* Watermark */
    .mygov-watermark {
        position: absolute;
        right: 30px;
        top: 30px;
        font-size: 90px;
        font-weight: 800;
        color: rgba(0,0,0,0.08);
        line-height: 0.9;
        text-align: right;
        z-index: 0;
    }

        .mygov-watermark span {
            display: block;
            font-size: 28px;
            font-weight: 600;
            align-items: center;
        }

    /* Door Box */
    .door-box {
        background: #f7f7f7;
        border-radius: 4px;
        padding: 100px 20px;
        box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .emblem-door {
        max-width: 144px;
        margin: 0; /* centered by the flex box above (removed left/top offsets) */
    }

    /* Content */
    .info-text {
        z-index: 1;
        font-size: 15px;
        color: #000;
    }

        .info-text h4 {
            font-size: 22px;
        }

        .info-text p {
            margin-bottom: 12px;
        }

        .info-text i {
            margin-right: 8px;
        }

    .mygov-watermark {
        display: flex;
        align-items: center;
        gap: 10px;
        opacity: 0.15; /* watermark effect */
        position: absolute;
        top: 20px;
        right: 20px;
        pointer-events: none;
    }

    .gov-logo {
        width: 100px; /* adjust as needed */
        height: auto;
        align-items: center;
    }

    .watermark-text {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
    }

        .watermark-text span {
            display: block;
            font-size: 13px;
        }

    .mygov-watermark {
        position: fixed; /* stays in the background */
        bottom: 10%;
        right: 10%;
        transform: translate(-50%, -50%);
        text-align: center;
        opacity: 0.1; /* semi-transparent watermark */
        pointer-events: none; /* click-through */
        z-index: 9999;
    }

    .gov-logo {
        width: 200px; /* make it large */
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .watermark-text {
        font-size: 32px; /* large text */
        font-weight: bold;
        line-height: 1.2;
        margin-top: 20px;
    }

        .watermark-text span {
            display: block;
            font-size: 28px;
        }

    .modal-header1 {
        background: linear-gradient(135deg, #f9ca24, #f6e58d);
        /* border-bottom: none; */
        padding: 18px 24px !important;
        border-radius: 8px 8px 0 0;
        margin: -20px -20px 20px -20px;
    }



    .scdlr-card {
        border-radius: 18px;
        overflow: hidden;
        border: none;
    }

    .scdlr-modal-header {
        background: linear-gradient(135deg, #f9ca24, #f6e58d);
        padding: 18px 24px !important;
        border-radius: 8px 8px 0 0;
        margin: -20px -20px 0px -20px;
    }

    .scdlr-pill-header {
        background: #fdebd3;
        border-radius: 60px 0 0 60px;
        padding: 20px 30px;
        position: relative;
        overflow: hidden;
    }

    .scdlr-pill-close {
        z-index: 2;
    }

    .scdlr-body {
        position: relative;
        background: #ededed;
        padding: 40px;
        overflow: hidden;
    }

    .scdlr-watermark {
        position: absolute;
        bottom:-20%;
        right: 30%;
        text-align: center;
        opacity: 0.1;
        pointer-events: none;
        z-index: 1;
    }

    .scdlr-gov-logo {
        width: 270px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .scdlr-watermark-text {
        font-size: 32px;
        font-weight: bold;
        line-height: 1.2;
        margin-top: 20px;
    }

        .scdlr-watermark-text span {
            display: block;
            font-size: 28px;
        }

    .scdlr-door-box {
        background: #f7f7f7;
        border-radius: 4px;
        padding: 100px 20px;
        box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .scdlr-emblem-door {
        max-width: 144px;
        margin: 0; /* centered by the flex box above (removed left/top offsets) */
    }

    .scdlr-info-text {
        z-index: 1;
        font-size: 15px;
        color: #000;
    }

    .scdlr-info-row {
        margin-bottom: 12px;
    }

    .scdlr-label {
        font-weight: 600;
    }

    .scdlr-value {
        display: inline-block;
    }


    /* Footer structure improvements */
     .footer-border.footer {
        padding: 5px !important;
    } 

    .footer-bottom {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 8px 24px !important;
        margin: 0 auto !important;
        gap: 20px;
    }

    .footer-info, .footer-links, .social-icons, .footer-updated, .footer-copy,
    .footer-bottom-left {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 12px;
    }

    /* Row 2 left-hand group: social icons + update date together */
    .footer-bottom-left {
        gap: 28px;
    }

    .social-icons a {
        line-height: 1;
    }

    .social-icons a:focus-visible {
        outline: 2px solid #0071BC;
        outline-offset: 2px;
        border-radius: 4px;
    }

    .footer-copy {
        font-size: 0.95rem;
        margin: 0 !important;
        line-height: 1.5 !important;
    }

    /* GIGW/WCAG AA: ensure all text inside the light-themed footer has
       at least 4.5:1 contrast against the cream/peach themed backgrounds.
       #1b1b1b on any theme's `--bg-color-light` gives ≥ 11:1. */
    .theme-bg-light.footer,
    .theme-bg-light.footer .footer-info,
    .theme-bg-light.footer .footer-visitors,
    .theme-bg-light.footer .footer-bottom,
    .theme-bg-light.footer .footer-copy,
    .theme-bg-light.footer .footer-updated,
    .theme-bg-light.footer .updated-text {
        color: #1b1b1b !important;
    }

    /* 📱 Mobile & Tablet */
    @media (max-width: 576px) {
        .footer-bottom {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            padding: 10px 15px !important;
        }

        .footer-bottom-left {
            flex-direction: column !important;
            gap: 10px;
        }

        .footer-updated {
             justify-content: center !important;
             margin-left: 0 !important;
        }
    }

    /* ---------- Modal Base ---------- */
    #infoModal .modal-dialog {
        max-width: 980px;
        margin: 1rem auto;
    }

    /* ---------- Header ---------- */
    .scdlr-pill-header {
        flex-wrap: wrap;
        text-align: center;
        padding: 10px 16px;
    }

    .scdlr-pill-text h2 {
        font-size: 1.4rem;
    }

    /* ---------- Body ---------- */
    .scdlr-body {
        padding: 1.25rem;
    }

    /* ---------- Info Rows ---------- */
    .info-row {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 8px;
    }

        .info-row .label {
            min-width: 140px;
            font-weight: 600;
        }

        .info-row .value {
            flex: 1;
        }

    /* ---------- Emblem ---------- */
    .scdlr-emblem-door {
        max-width: 120px;
    }

    /* ---------- Watermark ---------- */
    .scdlr-watermark {
        opacity: 0.08;
    }

    /* ============================= */
    /* 📱 Mobile Styles */
    /* ============================= */
    @media (max-width: 576px) {
        #infoModal .modal-dialog

    {
        max-width: 95%;
        margin: 0.5rem auto;
    }

    .scdlr-pill-header {
        flex-direction: column;
        gap: 8px;
    }

    .scdlr-pill-text h2 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .scdlr-pill-close {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .modal-body {
        padding: 1rem;
    }

    /* Stack emblem and info */
    .row.align-items-start {
        flex-direction: column;
        text-align: center;
    }

    .info-text {
        text-align: left;
        margin-top: 10px;
    }

    .info-row {
        flex-direction: column;
    }

        .info-row .label {
            min-width: auto;
            font-size: 0.9rem;
            color: #555;
        }

        .info-row .value {
            font-size: 0.95rem;
        }

    .scdlr-emblem-door {
        max-width: 90px;
        margin-bottom: 10px;
    }

    /* Watermark scale */
    .scdlr-gov-logo {
        max-width: 80px;
    }

    .scdlr-watermark-text {
        font-size: 0.9rem;
    }

    }

    /* ============================= */
    /* 📱📱 Small Mobile (320px) */
    /* ============================= */
    @media (max-width: 360px) {
        .scdlr-pill-text h2

    {
        font-size: 1rem;
    }

    .info-row .label,
    .info-row .value {
        font-size: 0.85rem;
    }

    }
