

/* === COLORS === */

.dark-blue-bg{
    background-color: #000734!important;
}
.dark-blue-text{
    color: #000734!important;
}
.white-bg{
    background-color: #FFFFFF!important;
    transition: background-color 0.3s ease-in-out
}
.blue-bg{
    background-color: #0C306D!important;
}

.btn.blue-bg:hover{
    background-color: #008FD5!important; 
}
.blue-text{
    color: #0C306D!important;
}
.light-blue-bg{
    background-color: #008FD5!important;
    transition: background-color 0.3s ease-in-out
}
.light-blue-text{
    color: #008FD5!important;
}
.super-light-blue-bg{
    background-color: #ECF1F8!important;
}
.super-light-blue-text{
    color: #ECF1F8!important;
}
.orange-bg{
    background-color: #A4872D!important;
}
.orange-bg.rounded-circle:hover{
    background-color: #CCB363!important;
}
.orange-text{
    color: #A4872D!important;
}
.light-orange-bg{
    background-color: #CCB363!important;
}
.light-orange-text{
    color: #CCB363!important;
}
.green-bg{
    background-color: #687351!important;
}
.green-text{
    color: #687351!important;
}
.light-green-bg{
    background-color: #A9C732!important;
}
.light-green-text{
    color: #A9C732!important;
}

/* === NORMALIZE ===*/
p, .report-desc *{
    font-size:16px;
}

.btn{
    font-size: 12px!important;
    font-family: "Karla"!important;
    text-transform: uppercase;
}
.fs-7{
    font-size:0.8rem!important;
}
.fs-8{
    font-size:0.7rem!important;
}
/* === ALERT === */
.tr-alert{
    border-radius: 10px;
    padding:10px!important;
    background-color: #CCB363;
    color: black;
    line-height:auto;
    font-size:12px;
    margin: 15px 0px;
}
.tr-alert i.bi{
    color:#0C306D;
  
    
}

i.bi{
    position:relative;
    line-height:12px;
    position:relative;
    line-height:12px;
    z-index:1;
    font-size:20px;
    margin-right: 5px;
    border-radius: 50%;
    overflow: hidden;
}
.tr-alert em{
    font-style: normal;
}
i.bi.white-bg::after{
   content:'';
   width:50%;
   height:50%;
   display:block;
   position:absolute;
   left:50%;
   top: 50%;
   transform: translate(-50%,-50%);
   z-index:-1;
   background: white;
}

/* === LOGIN === */
.nav-link{
    font-weight:400!important;
    color: #000000!important;
    margin: 0px 10px;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
    color: #0C306D!important;
    text-decoration: underline!important;
    text-decoration-color: #CCB363!important;
    text-decoration-thickness: 4px !important;
    text-underline-offset: 10px;
    font-family: "Noto Sans", sans-serif;
}
.login a.extra-link{
    color: #CCB363!important;
    text-decoration: unset!important;
}
.login{
    background-color: #ECF1F8;
    background-image: url(/assets/img/Circuits.png);
    background-repeat:no-repeat;
    background-position: left center;
    background-size: contain;
}

.login-splash{
    position:relative;
}
.login-splash h3 {
    color: white;
    position: absolute;
    bottom: 35%;
    text-align: left;
    width: 100%;
    max-width: 80%;
    left: 50%;
    transform: translate(-50%,0%);
    z-index:2;
    padding:0px;
    margin:0px;
}
.login-splash p {
    color: white;
    position: absolute;
    bottom: 20%;
    text-align: left;
    width: 100%;
    max-width: 80%;
    left: 50%;
    transform: translate(-50%,0%);
    z-index:2;
    font-weight: 300;
    font-size: 17px;
    padding:0px;
    margin:0px;
    line-height: 20px;
}
.darken{
    position:absolute;
    width: 100%;
    height:100%;
    background: rgba(0, 0, 0, 0.33);
    z-index:1;
}
.form-control{
    background: #ECF1F8;
}
.form-control::placeholder {
  color: rgb(77, 77, 77)!important;
  font-size: 14px;
}

.login-icon{
    background: #008FD5;
    width: 80px;
    height: 80px;
    text-align: center;
    font-size: 40px;
    margin: auto;
}

/* === DONUT CHART === */

        .chart-container {
            
            padding: 40px;
           
            
        }

        .donut-wrapper {
            position: relative;
            width: 300px;
            height: 300px;
            zoom: 0.9;
        }
        .donut-wrapper::before {
            content: '';
            display: block;
            width: 210px;
            height: 210px;
            background: white;
            position: absolute;
            top: 50%;
            z-index: 0;
            border-radius: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .donut-chart {
            transform: rotate(-90deg);
            position:relative;
        }

        .donut-segment {
            transition: opacity 0.3s ease;
            cursor: pointer;
            position:relative;
        }

        .donut-segment:hover {
            opacity: 0.8;
        }

        .donut-center {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
        }

        .donut-center-label {
            font-size: 34px;
            font-weight: 700;
            color: #1e3a5f;
            letter-spacing: 2px;
        }

        .legend {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
        }

        .legend-item {
            position: absolute;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 500;
            color: #333;
        }

        .legend-item.tracker {
            top: 20%;
            left: 0px;
            transform: translate(-10%, -20%);
        }

        .legend-item.encourager {
            top: 75%;
            right: 0;
            transform: translate(0%, 75%);
        }

        .legend-item.facilitator {
            top: 75%;
            left: 0;
            transform: translate(0%, 75%);
        }

        .legend-item.director {
            top: 20%;
            right: 0px;
            transform: translate(0%, -20%);
        }

        .donut-tooltip {
            position: absolute;
            background: rgb(255, 255, 255);
            color: white;
            padding: 10px 15px;
            border-radius: 6px;
            font-size: 14px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s ease;
            z-index: 1000;
           width: 400px;
            height: auto;
            box-shadow: 2px 2px 8px rgba(90, 213, 251, 0.459);
        }

        .donut-tooltip.show {
            opacity: 1;
        }

        .tooltip-trait {
            font-weight: 600;
            margin-bottom: 4px;
            font-size: 20px;
            color: #506B97
        }

        .tooltip-description {
            font-size: 14px;
            color: #000;
            
        }
        .tooltip-score {
            font-size: 20px;
            color: #506B97;
        }
        .tooltip-score  span{
            color: #CFB76B;
        }

        

/* === POPUP === */

/* 1. The Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
    z-index: 100001;
}

/* 2. The Popup Box */
.modal-popup {
    background-color: #ffffff;
    width: 90%;
    max-width: 850px;
    border-radius: 20px;
    padding: 50px 40px 20px 40px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
}

/* 3. Close Button */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    
    border: none;
    font-size: 30px;
    
    cursor: pointer;
    line-height: 7px;
    background: #bebebe;
    border-radius: 50%;
    color: white;
    width: 30px;
    height: 30px;
    
}
.modal-close-btn div{
    text-align: center;
    height: fit-content;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    left: 50%;
    font-size: 22px;
}

.close-btn:hover {
    color: #666;
}

/* 4. Title */
.modal-title {
    color: #1a2b5e; /* Dark Blue */
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

/* 5. Steps Layout */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 30px;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2; /* Keep above the dashed line */
}

/* 6. Step Circles (Numbers) */
.step-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Specific Colors for each step */
.color-1 { background-color: #d1aa57; } /* Gold */
.color-2 { background-color: #0092d6; } /* Cyan Blue */
.color-3 { background-color: #112b5e; } /* Dark Navy */

/* 7. Step Text */
.step-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin: 0;
    text-align:start;
    max-width: 220px; /* Limits text width for better readability */
}

/* 8. Decorative Dashed Line */
/* This creates the line connecting the circles */
.dashed-line {
    position: absolute;
    top: 30px; /* Aligns with the center of the circles */
    left: 10%;
    right: 10%;
    height: 1px;
    border-top: 2px dashed #e0e0e0;
    z-index: 1;
}

/* Responsive adjustment for mobile */
@media (max-width: 1200px) {
    .login-splash p {
        bottom: 16%;
    }
}
@media (max-width: 991px) {
    .login-splash p {
        bottom: 7%;
    }
}
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .dashed-line {
        display: none; /* Hide horizontal line on mobile */
    }
    
    .step {
        margin-bottom: 30px;
    }
    
}

.column-bg{
   background:#ECF1F8;
}
.container{
    --bs-gutter-x: 0rem!important;
    --bs-gutter-y: 0;
    padding-right:0px!important;
    padding-left:0px!important;
    max-width: 1920px!important;
    
}
main{
    background-color: #ECF1F8!important;
    padding-top: 30px;
}
@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1920px!important;
    }
}

#friend-report-card{
    background: #0C306D;
}
canvas{
    border-radius: 30px;
}
@media (min-width: 768px) {
    .me-panel.col-md-6 {
        flex: 0 1 auto!important;
        width: 47%!important;
    }
}
@media (max-width: 767px) {
    .me-panel.col-md-6 {
       margin: 7.5px 0px 7.5px 0px!important;
    }
}

@media (max-width: 767px) {
    #friend-report-card, #invitations{
        border-radius: 0px !important;
        padding: 30px !important;
    }
}