/* Orima_Wordmark logo dimensions: w=400, h=103*/

.youth-panel-hero {
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    font-family: Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;
    font-weight: bold;
}

.youth-panel-div {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 40px;
}

.youth-panel-content {
    /* Increased width to ensure the long sub-heading fits */
    max-width: 900px;
    color: #FFFFFF;
    display: block; /* Ensures children stack vertically */
}

/* The Main Title */
.youth-panel-content > p:first-of-type {
    font-size: 60px;
    font-weight: bold;
    margin: 0 0 5px 0;
    line-height: 1.1;
    color: #FFFFFF;
}

/* The Sub-heading */
#hero-subheading {
    font-size: 40px;
    margin: 0;
    opacity: 0.9;
    color: #FFFFFF;
    line-height: 1.2;
    display: block; /* Forces it to start on a new line */
}


/* mobile layout*/
@media (max-width: 419px) {
    div.logo-bar {
        height: 110px;
    }

    div.logo-bar #left-logo {
        top: 10px;
        left: 0;
        width: 200px;
        height: 100px;
        /*background-image: url('../images/client-logo.png'); !* dimensions of logo = 400 x 200   *!*/
    }

    div.logo-bar #right-logo {
        display: none;
    }

    #page-top div.title-bar { /* to improve presentation of logo bar at small screen */
        width: 98%;
    }
    .d-flex {
        grid-template-columns: 1fr;
    }
    .youth-panel-hero {
        min-height: 250px;
        background-position: 50% center; /* Shifts image to show more megaphone */
        text-align: left;
    }

    .youth-panel-div {
        width: 95%;
        max-width: 1100px;
        margin: 0 auto;
        padding-left: 10px;
    }

    .youth-panel-content {
        margin-top: 40px;
    }

    .youth-panel-content > p:first-of-type {
        font-size: 35px;
        font-weight: bold;
        margin: 0 0 5px 0;
        line-height: 1.1;
        color: #FFFFFF;
        display: block; /* Forces it to start on a new line */
        width: 300px;
    }

    /* The Sub-heading */
    #hero-subheading {
        font-size: 23px;
        margin: 0;
        opacity: 0.9;
        color: #FFFFFF;
        line-height: 1.2;
        display: block; /* Forces it to start on a new line */
        width: 300px;
        margin-top: 15px;
    }

    .typeahead-menus{
        position: absolute;
        top: 100%;
        left: 0px;
        z-index: 100;
        display: block;
        width: 100%;
        background-color: #fbfbfb;
        border: 1px solid #999999;
        cursor: pointer;
    }

    .fact-card {
        margin-top: 20px;
    }

    a.btn {
        padding-top: 14px;
    }

    .btn-primary {
        padding-top: 14px !important;
    }
}

/* wider screen mobile layout*/
@media (min-width: 420px) and (max-width: 599px) {

    .youth-panel-hero {
        min-height: 250px;
        background-position: 50% center; /* Shifts image to show more megaphone */
        text-align: left;
    }

    .youth-panel-div {
        width: 95%;
        max-width: 1100px;
        margin: 0 auto;
        padding-left: 10px;
    }

    .youth-panel-content {
        margin-top: 40px;
    }

    .youth-panel-content > p:first-of-type {
        font-size: 35px;
        font-weight: bold;
        margin: 0 0 5px 0;
        line-height: 1.1;
        color: #FFFFFF;
        display: block; /* Forces it to start on a new line */
        width: 300px;
    }

    /* The Sub-heading */
    #hero-subheading {
        font-size: 23px;
        margin: 0;
        opacity: 0.9;
        color: #FFFFFF;
        line-height: 1.2;
        display: block; /* Forces it to start on a new line */
        width: 300px;
        margin-top: 15px;
    }

    div.logo-bar {
        height: 110px;
    }

    div.logo-bar #left-logo {
        top: 10px;
        left: 0;
        width: 200px;
        height: 100px;
        /*background-image: url('../images/client-logo.png'); !* dimensions of logo = 400 x 200   *!*/
    }

    div.logo-bar #right-logo {
        display: none;
    }
    .d-flex {
        grid-template-columns: 1fr;
    }

    .youth-panel-hero {
        min-height: 250px;
        background-position: 50% center; /* Shifts image to show more megaphone */
        text-align: left;
    }

    .youth-panel-div {
        width: 95%;
        max-width: 1100px;
        margin: 0 auto;
        padding-left: 10px;
    }

    .youth-panel-content {
        margin-top: 40px;
    }

    .fact-card {
        margin-top: 20px;
    }

    a.btn {
        padding-top: 14px;
    }
}

/* smallscreen layout*/
@media (min-width: 600px) and (max-width: 799px) {

    .youth-panel-hero {
        min-height: 250px;
        background-position: 60% center; /* Shifts image to show more megaphone */
        text-align: left;
    }

    .youth-panel-div {
        width: 95%;
        max-width: 1100px;
        margin: 0 auto;
        padding-left: 10px;
    }

    .youth-panel-content {
        margin-top: 40px;
    }

    .youth-panel-content > p:first-of-type {
        font-size: 45px;
        font-weight: bold;
        margin: 0 0 5px 0;
        line-height: 1.1;
        color: #FFFFFF;
        display: block; /* Forces it to start on a new line */
        width: 300px;
    }

    /* The Sub-heading */
    #hero-subheading {
        font-size: 30px;
        margin: 0;
        opacity: 0.9;
        color: #FFFFFF;
        line-height: 1.2;
        display: block; /* Forces it to start on a new line */
        width: 400px;
        margin-top: 15px;
    }

    div.logo-bar {
        height: 160px;
    }

    div.logo-bar #left-logo {
        top: 10px;
        left: 10px;
        width: 300px;
        height: 150px;
        /*background-image: url('../images/client-logo.png'); !* dimensions of logo = 400 x 200   *!*/
    }

    div.logo-bar #right-logo {
        top: 60px;
        right: 0;
        width: 200px;
        height: 52px;
        background-image: url('/_resources/images/Orima_Logo.png'); /*  dimensions of logo = 400 x 103  */
        display: inline-block;
    }
    .d-flex {
        grid-template-columns: 1fr;
    }
    .youth-panel-hero {
        min-height: 200px;
        background-position: 80% center; /* Shifts image to show more megaphone */
        text-align: left;
    }
    .youth-panel-content {
        /*background: rgba(0, 0, 0, 0.3); !* Adds a slight shadow so text pops on mobile *!*/
        border-radius: 8px;
        padding: 15px;
        width: 70%;
    }
    .youth-panel-content h1 {
        font-size: 36px !important;
    }

}

/* desktop layout  */
@media (min-width: 800px) {
    div.logo-bar {
        height: 100px; /* set height to accommodate size of logos */
    }

    div.logo-bar #left-logo {
        top: 10px;
        left: 10px;
        width: 400px;
        height: 200px;
        /*background-image: url('../images/client-logo.png'); !* dimensions of logo = 400 x 200   *!*/
    }

    div.logo-bar #right-logo {
        top: 20px;
        right: 100px;
        width: 220px;
        height: 64px;
        background-image: url('/_resources/images/Orima_Logo.png'); /*  dimensions of logo = 400 x 103  */
    }
    .d-flex{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    .youth-panel-hero {
        min-height: 300px;
        /*background-position: 70% center; !* Shifts image to show more megaphone *!*/
        /*text-align: center;*/
    }

    .typeahead-menus{
        position: absolute;
        top: 100%;
        left: 0px;
        z-index: 100;
        display: block;
        width: 400px;
        background-color: #fbfbfb;
        border: 1px solid #999999;
        cursor: pointer;
    }
}

#homePage-accent-box {
    border-left: 5px solid #D8ECEB; /* Deep green accent */
    background-color: #D8ECEB;      /* Very light green tint */
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;    /* Rounds only the right corners */
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-size: 20px;
}

#step2Y-accent-box {
    border-left: 5px solid #D8ECEB; /* Deep green accent */
    background-color: #D8ECEB;      /* Very light green tint */
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;    /* Rounds only the right corners */
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#youth-smoking-accent-box, #parent-smoking-accent-box {
    border-left: 5px solid #D8ECEB; /* Deep green accent */
    background-color: #D8ECEB;      /* Very light green tint */
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;    /* Rounds only the right corners */
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.accent-box {
    border-left: 5px solid #2e7d32; /* Deep green accent */
    background-color: #f1f8e9;      /* Very light green tint */
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;    /* Rounds only the right corners */
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
/*.panel-info > .panel-heading {*/
/*    color: black !important;*/
/*    background-color: #f1f8e9 !important;*/
/*    !* border-color: #005de0; *!*/
/*}*/
.fact-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #9fd1cf;
    padding-top: 0;
    /* This makes all cards in a row the same height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/*.fact-card:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 10px 20px rgba(0,0,0,0.05);*/
/*}*/

.fact-card h3 {
    background: #f3faf9; /* Very light gray/blue tint */
    margin: -1.5rem -1.5rem 1rem -1.5rem; /* Pulls header to the edges of the card */
    padding: 1rem 1.5rem;
    border-radius: 12px 12px 0 0; /* Matches card corners */
    color: #1e40af;
    font-size: 1.1rem;
    border-bottom: 1px solid #e2e8f0;

}

.btn{
    background: #9fd1cf !important; /* Rich Forest Green */
    color: black !important;
    /*padding: 12px 32px;*/
    border-radius: 50px; /* Pill shape */
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    /*padding: 0  !important;*/
}
.btn:hover {
    background: #95c3c1 !important;
    box-shadow: 0 4px 15px rgba(22, 101, 52, 0.3);
}
.btn > svg{
    fill: black !important;

}
.panel-info{
    border-radius: 12px;
}
.panel-info > .panel-heading {
    color: black;
    background: #9fd1cf !important; /* Rich Forest Green */
    /* border-color: #005de0; */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

}
.panel-primary > .panel-heading {
    color: black;
    background: #9fd1cf !important; /* Rich Forest Green */
    /* border-color: #005de0; */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

}
.bootstrap-table .fixed-table-container .table thead th {
    background-color: #9fd1cf !important;
    color: black;
    border: none;
}
.bootstrap-table .fixed-table-container {
    border-radius: 12px !important;
    overflow: hidden; /* This clips the inner table to the container's rounded corners */
    border: 1px solid #ddd; /* Optional: adds a border around the rounded container */
}
.bootstrap-table .fixed-table-container .table {
    border-collapse: separate;
    border-spacing: 0;
}
.bootstrap-table .fixed-table-container .table thead th .th-inner.sortable.both {
    color: black !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='16' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z'/%3E%3C/svg%3E") !important;
    background-position: right 10px center; /* Adjust arrow position if needed */
    background-repeat: no-repeat;
    opacity: 1 !important;
}
#page-content > div > div > div.row > div > div > div.panel-heading > div.svg > svg{
    fill: black;
}
.modern-header {
    font-weight: 700;
    color: #1e3a8a;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.card-heading {
    margin-top: 0;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    margin-bottom: 15px;
}
.accent-blue { border-color: #3b82f6; color: #1e40af; }
#accent-primary {
    background-color: #9fd1cf !important;
    border-color: #22c55e !important;
}

#notesForParents,
#notesYoungPeople {
    color: #2a7f7a;
    font-weight: bold;
    border-color: #2a7f7a;
}

#notesForParents {
    margin-left: 20px;
    margin-right: 20px;
}

#parentConsent p {
    margin-left: 20px;
    margin-right: 20px;
}

#notesYoungPeople {
    margin-left: 20px;
    margin-right: 20px;
}

#childConsent p {
    margin-left: 20px;
    margin-right: 20px;
}

/* Modern List */
.modern-list {
    list-style: none;
    padding-left: 0;
}

.modern-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.modern-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}
/* ID Badges */
.id-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.badge {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.warning-callout {
    /*display: flex;*/
    background-color: #fffbeb; /* Soft amber background */
    border: 1px solid #fde68a; /* Light amber border */
    border-left: 5px solid #f59e0b; /* Solid amber accent bar */
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.05);
}

.warning-calloutRed {
    /*display: flex;*/
    background-color: #ffebeb; /* Soft amber background */
    border: 1px solid #fd8a8a; /* Light amber border */
    border-left: 5px solid #f50b0b; /* Solid amber accent bar */
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.05);
}
/* Make the Login link stand out */
.error-link {
    color: #b91c1c;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.2s ease;
}

.error-link:hover {
    color: #7f1d1d;
}
#input_203,#input_1205,#input_302,#input_510,#input_511{
    margin-left: 0 !important;
}

#page-content > div > div > h3.section-heading{
    color: #1A3668;
    background: #9fd1cf;
    padding: 8px 15px;
    border-left: 4px solid #1A3668;
    border-radius: 4px;
    margin-bottom: 15px;
}
.privacy-container h1 {
    color: #1A3668;
    font-size: 2.2rem;
    margin-bottom: 30px;
    border-bottom: 3px solid #E7F0FF;
    padding-bottom: 10px;
}
.privacy-container {
    /*font-family: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;*/
    /*max-width: 1000px;*/
    /*margin: 40px auto;*/
    width:100%;max-width:1500px;
    background: #ffffff;
    /*padding: 40px;*/
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    color: #334155;
    line-height: 1.8;
}
.privacy-container p {
    margin-bottom: 20px;
}
/* Target the class directly for better stability */
.form-group .text-input {
    height: auto !important; /* Overrides the inline 2em */
    padding: 10px 14px;      /* Modern inputs rely on padding, not fixed height */
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;         /* Prevents iOS zoom-on-focus */
    width: 100%;             /* Makes it responsive */
    box-sizing: border-box;  /* Ensures padding doesn't break the width */
}
.subheading{
    font-size: 0.85rem; color: #64748b;
}

#registrationSubmitted {
    background: #f3faf9; /* Very light gray/blue tint */
    border-left: none;
}

.small-link:hover {
    text-decoration: underline;
    color: #1e40af;
}

.small-link {
    text-decoration: underline;
    color: #000;
    font-size: 15px;
}
