﻿/* ================================================================================ ROOT VARIABLES ================================================================================*/
:root {
    --royalblue: #013FF6;
    --gold: #FFC01D;
    --navyblue: #17173D;

}


.bg-pl-secondary {
    background-color: #013FF6 !important;
}


.bg-pl-tertiary {
    background-color: #C3E6F5 !important;
}
.text-pl-primary {
    color: var(--navyblue);
}
.bg-pl-primary {
    background-color: var(--navyblue) !important;
}
.text-pl-secondary {
    color: var(--royalblue);
}
.btn-pl-secondary {
    background-color: var(--royalblue);
    color: white;
}
.btn-pl-secondary:hover {
    background-color: var(--gold);
    color: black;
}
.text-link {
    text-decoration: underline !important;
    text-decoration-color: var(--royalblue);
    /*color:black !important;*/
}
    .text-link:hover {
        font-weight: bold !Important;
        color: var(--royalblue) !important;
        border-bottom: 2px solid var(--gold);
    }
.icon-link {
    color: var(--navyblue) !important;
    background-color: none;
    text-decoration: none;
    border: none;
    font-size: 1.5rem;
}
.icon-link:hover {
    font-weight: bold !important;
    color: var(--royalblue) !important;
    border-bottom: 2px solid var(--gold);
}

.row-bord-bot {
    border-bottom: 5px solid black;
}

.header-col-bord-bot {
    border-bottom: 2px solid black;
}

.btn-pl-link {
    color: var(--royalblue);
    background-color: transparent !important;
    text-decoration: underline;
    border: none !important;
    font-size: 1.1rem;
}
.btn-pl-link:hover {
        font-weight: bold !important;
        color: var(--navyblue) !important;
        /*border-bottom: 2px solid #D9EDF7 !important;*/
    }

.main-bg-image {
    background-image: src("./diver.jpg") !important;
    background-size: contain !important;
}

.card-pl-message {
    border-left: 3px solid #0071c1 !important;
}

.row-link:hover {
    background-color: #C3E6F5;
  /* border-left: 6px solid #0071c1;*/
    color: black !important;
}

.row-link {
    padding-top: 25px;
    background-color: #f8f9fa;
    border-left: 6px solid var(--gold);
    color: var(--navyblue) !important;
    text-decoration: none !important;
}
.grid-wrap {
    border-radius: 10px 10px 0px 0px !important;
    overflow: hidden !important;
}

.grid-wrap-bottom {
    border-radius: 0px 0px 10px 10px !important;
    overflow: hidden !important;
}

.grid-wrap-twist {
    border-radius: 20px 0px 20px 0px !important;
    overflow: hidden !important;

}
button.btn.btn-twist {
    border-radius: 20px 0px 20px 0px !important;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 0, 0, 0.06);
}
button.btn.btn-twist:hover {
    color: white !important;
    border-color: var(--gold);
    /*background-color: var(--royalblue);*/

}
.table {
    border-collapse: collapse;
}

.box-shadow {
  /*  box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);*/ /* the magic */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 0, 0, 0.06);
    
}
.box-padding-sides {
    padding-left: 5px;
    padding-right: 5px;
}
.border-bot-gold{
    border-bottom:5px solid var(--gold) !important;
}
.border-top-gold {
    border-top: 5px solid var(--gold) !important;
}
.btn{
    border-radius: 15px !important;
}

.form-label{
    font-weight: bold !important;
    font-size: 1.2rem !important;
}

. border-left-black{
    border-left: 10px solid black;

}
.gold-border-top{
    border-top: 2px solid var(--gold) !important;
}

.text-pl-gold{
    color: var(--gold) !important;
}

th{
    background-color: var(--royalblue) !important;
    color: white !important;
}

/*----------------------------------------------------------------FOOTER----------------------------------------------*/
/* Custom styling for the footer background image */
/* Custom styling for the footer background image */
/* --- Background and Container Setup (Kept from previous working code) --- */

.footer-bg {
    height: 50px;
    background-image: url('../wave2.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
}

/* Flexbox for the icons container - this ensures the items are side-by-side and centered vertically */
.icon-container {
    height: 100%;
    display: flex; /* Key: Enables the flexible layout */
    justify-content: space-around; /* Distributes items evenly (though flex-grow will dominate) */
    align-items: right; /* Centers items vertically in the 50px height */
    padding: 0; /* Remove any default padding */
}

    /* --- FIX: Target BOTH <a> and <button> elements within the container --- */

    /* Selects all direct child links AND buttons */
    .icon-container > a,
    .icon-container > button {
        /* FIX 1: This forces each button/link to take up equal horizontal space */
        flex-grow: 1;
        /* FIX 2: Makes the button/link itself a flex container to center the icon inside it */
        display: flex;
        justify-content: center; /* Centers the icon horizontally */
        align-items: center; /* Centers the icon vertically */
        /* Ensure buttons don't have default borders or background color that interferes */
        background: transparent;
        border: none;
        cursor: pointer; /* Keeps the hover effect for buttons */
        padding: 0;
        margin: 0;
        text-decoration: none; /* For the links */
        height: 100%; /* Ensures they fill the container height for better click area */
    }

    /* FIX 3: Increase icon size */
    .icon-container i {
        font-size: 24px !important; /* Set a standard size for all icons */
        /* If fa-3x is overriding, you may need !important, or remove fa-3x from the HTML */
    }

    /*------------- SCORECARD APP ----------------------------*/

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    height: 100vh;
    padding: 20px;
    background-color: white;
    box-sizing: border-box;
}

.grid-item {
    background-color: white;
    border-radius: 10px;
    color: var(--royalblue);
    font-size: 2rem;
    border: 2px solid var(--navyblue);
    padding: 20px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s;
}

    .grid-item:hover {
        background-color: #f0f0f0;
    }

.fullscreen-number {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 20rem;
    background-color: white;
    color: black;
}
