/* Masquer tous les titres (Title et ShortTitle) dans la vue update_score sous 520px */
@media (max-width: 520px) {
    .pageTitle .Title,
    .pageTitle .ShortTitle {
        display: none !important;
    }
    .pageTitle .row {
        justify-content: center !important;
    }
    .pageTitle .row > div:last-child {
        margin-right: 0 !important;
    }
}
/* Move down content for the fixed modern navbar */
body {
    padding-top: 80px;
    padding-bottom: 20px;
}

body.has-admin-bar {
    padding-top: 124px;
}

@media (max-width: 1199px) {
    body {
        padding-top: 72px;
    }

    body.has-admin-bar {
        padding-top: 114px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    body.has-admin-bar {
        padding-top: 72px;
    }
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    /*padding-left: 15px;/**/
    padding-right: 15px;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* #globalLoader {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -80%);
    z-index: 9999;
} */

#globalLoader {
    position: fixed;        /* 🔥 clé */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;

    display: none;          /* caché par défaut */
}

#globalOverlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(2px);
    z-index: 9998;
    display: none;
}

#globalOverlay {
    transition: opacity 0.2s ease;
    opacity: 0;
}

#globalOverlay.active {
    display: block;
    opacity: 1;
}

#wizardOverlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(3px);
    z-index: 9997;
    display: none;
}

.wizard-page-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(3px);
    z-index: 5000;
    pointer-events: auto;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"]{
    max-width: 280px;
}

/* Large screens: extend container width */
@media (min-width: 1200px) {
    .container {
        width: 90%;
    }
}

/* Large screens: extend container width */
@media (min-width: 1600px) {
    .container {
        width: 1498px;
    }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

    /*  Prediction Draw */
    
    .tableDraw{
        /* border-collapse: separate;/**/
    }
    .tableDraw td{
        width:15px; 
        text-align: center;
        border-color: rgb(128, 128, 128) !important; /*rgba(213, 210, 210, 0.67)*/
        /*border-radius: 5px;*/
    }
    .tableDraw td div.cellScore {
        color: #4E6C88;
        font-weight: bolder;
        font-size: 13px;
        }
    .tableDraw td div.cellDate {
        font-size:11px;
        }
    .tableDraw td div.cellTeam {
        padding: 10px 5px;
        border: 3px solid !important;
        border-color: #337ab7 !important; /*#0026ff*/
        border-radius: 10px;
        text-transform:uppercase;
        text-align: center;
        display: inline-block;
        /*width: 90%;*/
        min-width: 120px;
        box-shadow: 2px 4px 8px #888888;
    }

    /* Team link style - white text, underline on hover */
    .team-link {
        color: white !important;
        text-decoration: none;
    }

    .team-link:hover {
        color: white !important;
        text-decoration: underline;
    }

    /* Date/Score link style - inherit color, underline on hover */
    .date-link {
        color: inherit;
        text-decoration: none;
    }

    .date-link:hover {
        text-decoration: underline;
    }

    /* Title link style - default color, underline on hover */
    .title-link {
        text-decoration: none;
    }

    .title-link:hover {
        text-decoration: underline;
    }

    .group-title-header {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .group-bracket-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        border: 1px solid #bfdbfe;
        border-radius: 7px;
        background: #eff6ff;
        color: #0d6efd;
        text-decoration: none !important;
        box-shadow: 0 5px 12px rgba(13, 110, 253, 0.14);
        transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
        vertical-align: middle;
    }

    .group-bracket-link:hover,
    .group-bracket-link:focus {
        border-color: #60a5fa;
        background: #dbeafe;
        color: #0b5ed7;
        text-decoration: none !important;
        transform: translateY(-1px);
    }

    .group-bracket-link .ion-network {
        font-size: 18px;
        line-height: 1;
    }

    html[data-theme='dark'] .group-bracket-link {
        border-color: rgba(96, 165, 250, 0.42);
        background: rgba(37, 99, 235, 0.18);
        color: #93c5fd;
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
    }

    html[data-theme='dark'] .group-bracket-link:hover,
    html[data-theme='dark'] .group-bracket-link:focus {
        border-color: rgba(147, 197, 253, 0.76);
        background: rgba(37, 99, 235, 0.28);
        color: #dbeafe;
    }

    .tableDraw td div.cellTeamLooser {
        padding: 10px 5px;
        border: 1px solid !important;
        border-color: #337ab7 !important; /*#0026ff*/
        border-radius: 10px;
        text-transform:uppercase;
        text-align: center;
        display: inline-block;
        min-width: 120px;
        box-shadow: 2px 4px 8px #888888;
    }
    .tableDraw td div.cellTeamThird {
        margin-top: -4px;
        padding: 10px 5px;
        border: 1px solid !important;
        border-color: #337ab7 !important; /*#0026ff*/
        border-radius: 20px;
        text-transform:uppercase;
        text-align: center;
        display: inline-block;
        /*min-width: 120px;*/
        width: 80%;
        box-shadow: 3px 7px 12px #888888;
    }
    .tableDraw td div.cellTeamWinner {
        margin-bottom: -3px;
        padding: 30px 5px;
        border: 4px solid !important;
        border-color: #337ab7 !important; /*#0026ff*/
        border-radius: 20px;
        text-transform: uppercase;
        text-align: center;
        display: inline-block;
        width: 90%;
        box-shadow: 5px 10px 20px #888888;
        font-weight: bolder;
        color: #4E6C88;
        font-size: 18px;
    }

    /*.tableDraw td div.drop:before {
	    left: -5px;
	    top: 167px;
	    width: 280px;
	    height: 4px;
	    background: #aaa;

	    border-radius: 140px / 2px;
	    box-shadow: 0 0 5px #aaa, 0 0 10px #888, 0 0 15px #666;
        position:relative; 
        z-index: 0;
    }

    .tableDraw td div.drop:after {
	    left: 8px;
	    top: 168px;
	    width: 255px;
	    height: 2px;
	    background: #666;
	
	    border-radius: 125px / 1px;
	    box-shadow: 0 0 5px #444, 0 0 8px #333, 0 0 10px #666;
        position:relative;
        z-index: 0;
    }*/

    .CornerUpRight {
        border-top: 1px solid !important;
        border-right: 1px solid !important;
        border-top-right-radius: 10px !important
    }

    .CornerDownRight {
        border-bottom: 1px solid !important;
        border-right: 1px solid !important;
        border-bottom-right-radius: 10px !important
    }

    .CornerUpLeft {
        border-top: 1px solid !important;
        border-left: 1px solid !important;
        border-top-left-radius: 10px !important
    }

    .CornerDownLeft {
        border-bottom: 1px solid !important;
        border-left: 1px solid !important;
        border-bottom-left-radius: 10px !important
    }

    .LineUp {
        border-top: 1px solid !important;
    }

    .LineDown {
        border-bottom: 1px solid !important;
    }

    .LineRight {
        border-right: 1px solid !important;
    }

    .LineLeft {
        border-left: 1px solid !important;
    }

    .tableDraw td.borderBold {
        border-width: 2px !important;
        border-color: #337ab7 !important; /*#0026ff*/
    }


    .tableDraw td div.ConfirmedPosition{
        /*background-color: #337ab7;
        color: #fff;
        border: none !important;*/
        
        padding: 10px 5px;
        border: 1px solid !important;
        border-color: #337ab7 !important; /*#0026ff*/
        border-radius: 10px;
        text-transform:uppercase;
        text-align: center;
        display: inline-block;
        min-width: 120px;
        /*width: 90%;*/
        color: aliceblue;
        background-color: #4E6C88;
        -webkit-box-shadow: -1px 7px 14px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: -1px 7px 14px 0px rgba(0,0,0,0.75);
        box-shadow: -1px 7px 14px 0px rgba(0,0,0,0.75);
    }

    .tableDraw td div.cellTeam div.left {
        padding-left: 3px;
    }
    .tableDraw td div.cellTeam div.right {
        background-color:white; 
        color: #337ab7;
        padding: 10px 5px;
        width:100%;
    }
    .tableCellTeam td {
        padding: 2px !important;
        padding-left: 0px !important;
    }


    /*  DELTA POSITION */ 
    div.tbl-prevrank-icon{
        padding: 0px !important;
        text-align: center !important;
    }
    .tbl-prevrank-icon > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        color: #9aa4b2;
        font-size: 15px;
        line-height: 1;
    }
    .tbl-prevrank-icon > span.rank-rise,
    .tbl-prevrank-icon > span.ion-arrow-up-a,
    .tbl-prevrank-icon > span.ion-arrow-up-b {
        color: #20a464;
    }
    .tbl-prevrank-icon > span.rank-fall,
    .tbl-prevrank-icon > span.ion-arrow-down-a,
    .tbl-prevrank-icon > span.ion-arrow-down-b {
        color: #e04444;
    }
    .tbl-prevrank-icon > span.rank-rise:before,
    .tbl-prevrank-icon > span.rank-fall:before {
        display: inline-block;
        font-family: "Ionicons";
        font-style: normal;
        font-weight: normal;
        line-height: 1;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    .tbl-prevrank-icon > span.rank-rise:before {
        content: "\f10d";
    }
    .tbl-prevrank-icon > span.rank-fall:before {
        content: "\f104";
    }

    .NotAccessible {
        /*font-style:italic;*/
        position: relative;
        z-index:0;
        opacity: 0.5;
        filter: alpha(opacity=50);
      
        /* IE */
        /*-moz-opacity: 0.6;*/
        /* Mozilla */
        /*opacity: 0.6;*/
      
    }

    /*  STANDINGS (for 2 screens) */

    body {
        font-family: "DejaVu Serif";
    }

    .page-template {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    .page-template .header {
        position: absolute;
        top: 30px;
        left: 30px;
        right: 30px;
        border-bottom: 1px solid #888;
        text-align: center;
        font-size: 18px;
    }

    .page-template .footer {
        position: absolute;
        bottom: 30px;
        left: 30px;
        right: 30px;
    }

    /* ==== PRONOS ==== */

   /* ===== SCORE EXACT (TOP) ===== */
    .thumbnail.PronoExactScore {
        border: 3px solid #00c853 !important;
        box-shadow: 0 0 15px rgba(0, 200, 83, 0.9);
        transform: scale(1.03);
    }

    .Score.PronoExactScore {
        color: #00c853;
        font-weight: bold;
        font-size: 1.2em;
    }

    .Score.PronoTeamExact {
        color: #00c853;
        font-weight: bold;
    }

    /* ===== BON VAINQUEUR ===== */
    .thumbnail.PronoGoodWinner {
        border: 3px solid #fbc02d !important;
        box-shadow: 0 0 8px rgba(251, 192, 45, 0.6);
    }

    .thumbnail.PronoGoodMargin,
    .thumbnail.PronoGoodWinnerExactGoal,
    .thumbnail.PronoGoodWinnerSimple,
    .thumbnail.PronoGoodResult {
        border: 3px solid #00c853 !important;
        box-shadow: 0 0 10px rgba(0, 200, 83, 0.55);
    }

    .thumbnail.PronoAdjacent,
    .thumbnail.PronoAdjacentExactGoal {
        border: 3px solid #fda520 !important;
        box-shadow: 0 0 8px rgba(253, 165, 32, 0.55);
    }

    .Score.PronoGoodWinner {
        color: #fbc02d;
        font-weight: bold;
    }

    .Score.PronoGoodMargin,
    .Score.PronoGoodWinnerSimple {
        color: #fda520;
        font-weight: bold;
    }

    .Score.PronoGoodResult,
    .Score.PronoAdjacent {
        color: #e53935;
        font-weight: bold;
    }

    /* ===== MAUVAIS PRONO ===== */
    .thumbnail.PronoWrong,
    .thumbnail.PronoWrongExactGoal {
        border: 2px solid #e53935 !important;
    }

    .Score.PronoWrong {
        color: #e53935;
        font-weight: bold;
    }

    /* ===== LABEL ===== */
    .PronoLabel {
        text-align: center;
        font-size: 12px;
        font-weight: bold;
        margin-top: 4px;
    }

    .PronoLabel.PronoExactScore { color: #00c853; }
    .PronoLabel.PronoGoodWinner { color: #fbc02d; }
    .PronoLabel.PronoGoodWinnerExactGoal { color: #fda520; }
    .PronoLabel.PronoGoodWinnerSimple { color: #fda520; }
    .PronoLabel.PronoGoodMargin { color: #fda520; }
    .PronoLabel.PronoGoodResult { color: #00a84a; }
    .PronoLabel.PronoAdjacent { color: #fda520; }
    .PronoLabel.PronoAdjacentExactGoal { color: #fda520; }
    .PronoLabel.PronoWrong { color: #e53935; }
    .PronoLabel.PronoWrongExactGoal { color: #e53935; }

    /* ===============================
      MATCH COMMENCÉ / PRONOSTIC FERMÉ
     =============================== */

    /* Effet désactivé général sur les équipes */
    .GameDisabled .thumbnail {
        opacity: 0.92;
        filter: none;
        transition: all 0.25s ease-in-out;
    }

    /* La colonne centrale devient la zone de badge */
    .GameDisabled.ShowClosedOverlay .col-sm-6 {
        position: relative;
    }

    /* Voile blur léger uniquement au centre */
    .GameDisabled.ShowClosedOverlay .col-sm-6::before {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        top: 34px;
        bottom: 20px;

        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);

        border-radius: 14px;
        z-index: 8;
        pointer-events: none;

        animation: pronoFadeIn 0.25s ease-out;
    }

    /* Badge premium */
    .GameDisabled.ShowClosedOverlay .col-sm-6::after {
        content: "Prediction closed";

        position: absolute;
        top: 58%;
        left: 50%;
        transform: translate(-50%, -50%);

        background: linear-gradient(135deg, rgba(30, 30, 30, 0.92), rgba(70, 70, 70, 0.88));
        color: #fff;

        padding: 7px 16px;
        border-radius: 999px;

        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;

        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
        z-index: 9;
        pointer-events: none;

        animation: pronoPulse 1.8s ease-in-out infinite;
    }

    @media (max-width: 992px) {
        .GameDisabled.ShowClosedOverlay .col-sm-6::after {
            content: "Closed";
        }
        .RowClosed {
            height: 20px;
        }
    }

    /* Animation d’apparition */
    @keyframes pronoFadeIn {
        from {
            opacity: 0;
            transform: scale(0.96);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Animation légère du badge */
    @keyframes pronoPulse {
        0%, 100% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 0.95;
        }
        50% {
            transform: translate(-50%, -50%) scale(1.04);
            opacity: 1;
        }
    }

    .GameStatus {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        isolation: isolate;
        min-width: 68px;
        min-height: 30px;
        padding: 6px 14px;
        border-radius: 999px;
        border: 1px solid rgba(25, 95, 55, 0.22);
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.45) 27%, rgba(255, 255, 255, 0) 28%),
            linear-gradient(180deg, #f8fff9 0%, #e4f4eb 52%, #c9e4d3 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), inset 0 -1px 0 rgba(25, 95, 55, 0.11), 0 1px 3px rgba(16, 44, 74, 0.08);
        color: #1f6a42;
        line-height: 1.2;
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
        letter-spacing: 0;
        transform: translateY(-10px);
    }

    .GameStatus.is-live::after,
    .GameStatus.is-overtime::after,
    .GameStatus.is-halftime::after,
    .GameStatus.is-paused::after,
    .GameStatus.is-penalty::after,
    .admin-live-status.is-live::after,
    .admin-live-status.is-overtime::after,
    .admin-live-status.is-halftime::after,
    .admin-live-status.is-paused::after,
    .admin-live-status.is-penalty::after {
        content: "";
        position: absolute;
        top: -55%;
        bottom: -55%;
        left: -85%;
        width: 58%;
        pointer-events: none;
        background: linear-gradient(
            110deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.18) 28%,
            rgba(255, 255, 255, 0.68) 48%,
            rgba(255, 255, 255, 0.2) 68%,
            rgba(255, 255, 255, 0) 100%
        );
        opacity: 0;
        transform: skewX(-18deg) translateX(0);
        animation: scoreBadgeShine 3.8s ease-in-out infinite;
        z-index: 1;
    }

    .admin-live-status {
        overflow: hidden;
        isolation: isolate;
    }

    .admin-score-badge {
        position: relative;
        overflow: hidden;
        isolation: isolate;
    }

    @keyframes scoreBadgeShine {
        0%,
        48% {
            opacity: 0;
            transform: skewX(-18deg) translateX(0);
        }
        56% {
            opacity: 0.95;
        }
        72% {
            opacity: 0.2;
            transform: skewX(-18deg) translateX(420%);
        }
        100% {
            opacity: 0;
            transform: skewX(-18deg) translateX(420%);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .GameStatus.is-live::after,
        .GameStatus.is-overtime::after,
        .GameStatus.is-halftime::after,
        .GameStatus.is-paused::after,
        .GameStatus.is-penalty::after,
        .admin-live-status.is-live::after,
        .admin-live-status.is-overtime::after,
        .admin-live-status.is-halftime::after,
        .admin-live-status.is-paused::after,
        .admin-live-status.is-penalty::after {
            animation: none;
        }
    }

    .GameStatus:empty {
        display: none;
    }

    .GameStatus.is-live,
    .GameStatus.is-overtime,
    .GameStatus.is-halftime,
    .GameStatus.is-paused,
    .GameStatus.is-penalty {
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.48) 27%, rgba(255, 255, 255, 0) 28%),
            linear-gradient(180deg, #fffaf0 0%, #fff0cf 50%, #ffd98a 100%);
        border-color: #d99d2b;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(132, 80, 0, 0.14), 0 1px 3px rgba(16, 44, 74, 0.08);
        color: #845000;
    }

    .GameStatus.is-final {
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.45) 27%, rgba(255, 255, 255, 0) 28%),
            linear-gradient(180deg, #f5fff8 0%, #ddece4 52%, #bed9c8 100%);
        border-color: #75a887;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), inset 0 -1px 0 rgba(43, 106, 70, 0.13), 0 1px 3px rgba(16, 44, 74, 0.08);
        color: #2b6a46;
    }

    #tableTeam .real-score-row {
        display: grid;
        grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
        align-items: center;
        justify-items: center;
        margin-left: 0;
        margin-right: 0;
    }

    #tableTeam .real-score-row::before,
    #tableTeam .real-score-row::after {
        display: none;
        content: none;
    }

    #tableTeam .real-score-row > .real-score-cell,
    #tableTeam .real-score-row > .real-score-status {
        float: none;
        width: auto;
        min-height: 1px;
        padding-left: 0;
        padding-right: 0;
    }

    #tableTeam .real-score-status {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 68px;
    }

    #tableTeam .real-score-status.has-prono-result-only {
        min-width: 0;
    }

    @media (max-width: 767px) {
        .GameStatus {
            min-width: 34px;
            min-height: 0;
            padding: 3px 9px;
            transform: translateY(-6px);
        }

        #tableTeam .real-score-row {
            grid-template-columns: minmax(22px, 1fr) auto minmax(22px, 1fr);
        }

        #tableTeam .real-score-status {
            min-width: 34px;
        }
    }

    .PronoLabelInline {
        font-size: 10px;
        font-weight: bold;
        line-height: 11px;
        margin-top: 1px;
        white-space: nowrap;
    }

    .PronoLabelInline.PronoExactScore {
        color: #00c853;
    }

    .PronoLabelInline.PronoGoodWinner {
        color: #fbc02d;
    }

    .PronoLabelInline.PronoGoodWinnerExactGoal {
        color: #fda520;
    }

    .PronoLabelInline.PronoGoodWinnerSimple {
        color: #fda520;
    }

    .PronoLabelInline.PronoGoodMargin {
        color: #fda520;
    }

    .PronoLabelInline.PronoGoodResult {
        color: #00a84a;
    }

    .PronoLabelInline.PronoAdjacent {
        color: #fda520;
    }

    .PronoLabelInline.PronoAdjacentExactGoal {
        color: #fda520;
    }

    .PronoLabelInline.PronoWrong {
        color: #e53935;
    }

    .PronoLabelInline.PronoWrongExactGoal {
        color: #e53935;
    }

    .RowNormal {
        height: 33px;
    }

    .RowClosed {
        height: 60px;
    }

    .PronoLabelInline {
        display: block;
    }

    .wc-brand {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .wc-logo {
        height: 26px;
        width: auto;
    }

    .home-hero {
        min-height: calc(70vh - 120px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 60px 15px;
    }

    .home-card {
        width: 100%;
        max-width: 820px;
        text-align: center;
        padding: 55px 35px;
        border-radius: 24px;
        background: linear-gradient(135deg, #f7f9fc, #ffffff);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    }

    .home-logo-wrap {
        margin-bottom: 18px;
    }

    .home-logo {
        height: 98px;
        width: auto;
        filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.22));
    }

    .home-kicker {
        margin-bottom: 30px;
        color: #337ab7;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }

    .home-card h1 {
        margin: 0 0 48px;
        font-size: 52px;
        font-weight: 800;
        letter-spacing: -1px;
    }

    @media (max-width: 576px) {
        .home-card h1 {
            font-size: 42px;            
        }
        .home-hero{
            padding-top: 30px;
        }
        .home-logo {
            height: 58px;
        }
    }

    .home-subtitle {
        max-width: 600px;
        margin: 0 auto 32px;
        color: #555;
        font-size: 20px;
        line-height: 1.5;
    }

    .home-actions {
        display: flex;
        justify-content: center;
        gap: 14px;
        flex-wrap: wrap;
    }

    .home-actions .btn {
        min-width: 195px;
        border-radius: 10px;
        padding: 12px 22px;
    }

    .error-message {
        background-color: #f8d7da; /* Light red background for error */
        color: #721c24; /* Dark red text for contrast */
        border: 1px solid #f5c6cb; /* Border to make it stand out */
        padding: 10px; /* Add some padding for better readability */
        border-radius: 5px; /* Rounded corners for a modern look */
        font-size: 14px; /* Slightly larger font for readability */
        font-weight: bold; /* Make the text bold */
        text-align: center; /* Center the text */
        margin: 10px 0; /* Add some spacing around the message */
    }
