html {
  font-size: 14px;
}

html, body {
    height: 100%;
    overflow-y: hidden; /* let child container handle scrolling exclusively */
}

/* whatever wraps your actual page content */
.page-content, main, #app {
    height: 100vh;
    overflow-y: auto; /* only ONE of these should scroll */
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.pb-3
{

    position:relative;
    transition:left 0.3s ease;
}


.text-above
{
    align-content:center;
    position:relative;
    left:0px;
}

.text-above p
{
    text-align:center;
    font-size:35px;
    color:darkorange;
    font-family:Arial, Helvetica, sans-serif;
}

.progress-container {
    display: grid;
    grid-template-columns: repeat(2, 250px);
    grid-template-rows: repeat(2, auto); /* was: repeat(2, 400px) */
    grid-column-gap: 350px;
    grid-row-gap: 100px;
    justify-content: left;
    margin-left: 25vw;
}

.progress-circle-l {
    --progress: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient( #8e2de2 calc(var(--progress) * 1%), #808080 0 );
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle-l::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
}

.progress-circle-l span {
    position: relative;
    font-size: 24px;
    font-weight: bold;
}



.progress-circle-d {
    --progress: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient( #070606 calc(var(--progress) * 1%), #808080 0 );
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle-d::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
}

.progress-circle-d span {
    position: relative;
    font-size: 24px;
    font-weight: bold;
}


.progress-circle-k {
    --progress: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient( #c87a0c calc(var(--progress) * 1%), #808080 0 );
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle-k::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
}

.progress-circle-k span {
    position: relative;
    font-size: 24px;
    font-weight: bold;
}


.progress-circle-t {
    --progress: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient( #047811 calc(var(--progress) * 1%), #808080 0 );
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle-t::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
}

.progress-circle-t span {
    position: relative;
    font-size: 24px;
    font-weight: bold;
}
.label-progress-bar {
    margin-bottom: 15px;
    text-align: center;
    color: #f0e8ff;
}


.l-detail-c,
.t-detail-c,
.k-detail-c,
.d-detail-c {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.l-person-detail,
.t-person-detail,
.k-person-detail,
.d-person-detail {
    display: grid;
    grid-template-columns: 250px 400px;
    column-gap: 30px;
    align-items: center;
}
.detail-data-k 
{
    text-align: left;
}


.card-container {
    display: grid;
/*    grid-template-rows: 450px 200px;*/
    width:250px;
    
}
.next-goal-container {
    margin-left:20px;
    margin-top:50px;
    display: grid;
    grid-template-columns:290px 25px 50px  40px;
    grid-template-rows: repeat(auto-fill, minmax(30px, 1fr));
    gap:5px;
    
/*   align-content:center;*/
   
    
}

    .next-goal-container p {
        color: #f0e8ff;
    }

.total-next-goal
{
    display:grid;
    grid-template-columns: 70px 400px;
    grid-template-rows:1fr;
    position:relative;
    left:-100px;
}
.text-goal {
    font-size: 20px;
    color: #f5a623;
    font-weight: 600;
}

.text-goal-container
{

    margin-top:50px;
}
/**/


/*another page*/

.login-container {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-row-gap: 15px;
    justify-content: center;
    margin-top: 50px;
}


/*the -layout part , do not be idiot for forget that it's not the same page design*/
.menu-button {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 5001;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 10px;
    background-color: white;
    cursor: pointer;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease, transform 0.2s ease;
}

    .menu-button:hover {
        transform: scale(1.05);
    }

.sidebar {
    position: fixed;
    display: flex;
    flex-direction: column;
    left: -260px;
    top: 0px;
    height: 100vh;
    background: linear-gradient(180deg, #3a3536 0%, #2a2627 100%);
    padding-top: 80px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
    z-index: 5000;
    width: 260px;
    transition: left 0.3s ease;
}
.sidebar {
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.2);
}

    .sidebar a {
        position: relative;
        margin: 4px 12px;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 0.3px;
        text-decoration: none;
        color: #e8e3e1 !important;
        border-radius: 10px;
        transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    }

        .sidebar a:hover {
            background-color: rgba(255, 255, 255, 0.08);
            color: #ffffff !important;
            padding-left: 22px;
        }

        .sidebar a::before {
            content: "";
            position: absolute;
            left: 0px;
            top: 50%;
            transform: translateY(-50%);
            height: 0;
            width: 3px;
            border-radius: 2px;
            background-color: #f5a623;
            transition: height 0.2s ease;
        }

        .sidebar a:hover::before {
            height: 60%;
        }

#toggleButton {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
}

.dropdown-arrow {
    margin-left: auto;
    display: inline-block;
    font-size: 13px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

    .dropdown-arrow.rotated {
        transform: rotate(90deg);
    }

.dropdown-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.4s ease, margin-top 0.4s ease;
    margin: 0 12px;
    margin-top: 0;
}

    .dropdown-content.show {
        grid-template-rows: 1fr;
        margin-top: 6px;
    }

.dropdown-inner {
    overflow: hidden;
    min-height: 0;
}

    .dropdown-inner a {
        margin: 0;
        padding: 10px 16px 10px 32px;
        font-size: 14px;
        color: #c9c2bf;
        border-radius: 8px;
        transition: background-color 0.2s ease, color 0.2s ease;
        cursor: pointer;
    }

        .dropdown-inner p:hover {
            background-color: rgba(255, 255, 255, 0.08);
            color: #ffffff;
        }