html {
    width: 100%;
    height: 100%;
}

.summary-card {
    transition: transform 0.3s;
    height: 100%;
}
.summary-card:hover {
    transform: translateY(-5px);
}
.progress {
    height: 25px;
}
.calendar-day {
    height: 80px;
    border: 1px solid #dee2e6;
    padding: 5px;
    cursor: pointer;
}
.calendar-day:hover {
    background-color: #f8f9fa;
}
.calendar-day.today {
    background-color: #e9f7fe;
    font-weight: bold;
}
.calendar-day.workout-day {
    background-color: #e8f5e9;
}
.calendar-day.other-month {
    color: #adb5bd;
    background-color: #f8f9fa;
}
.badge-workout {
    font-size: 0.7em;
    display: block;
    margin-top: 2px;
}
.report-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
}
.comparison {
    font-size: 0.9rem;
}
.comparison.positive {
    color: #28a745;
}
.comparison.negative {
    color: #dc3545;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    min-height: 100%;
}

#containerMain {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-bottom: 30px;
}

#header {
    width: 100%;
    height: 100px;
    background-image: linear-gradient(120deg, #e95f24, #f0a07b);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#header p {
    font-size: 36px;
    color: white;
    margin-left: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.subsection {
    width: 95%;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 20px;
}

#new {
    width: 30%;
    height: 500px;
    padding: 0;
}

#existing {
    width: 70%;
    height: 500px;
    padding: 0;
}

.scroll-container {
    overflow-y: auto;
    height: calc(100% - 60px);
    padding: 15px;
}

/* Custom scrollbar */
.scroll-container::-webkit-scrollbar {
    width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #e95f24;
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: #d35400;
}

#workout-log {
    flex-direction: column;
    align-items: center;
    min-height: 500px;
}

@media (max-width: 992px) {
    .subsection {
        flex-direction: column;
        align-items: center;
    }
    
    #new, #existing {
        width: 100%;
    }
}

.item{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 15px;
    flex-shrink: 0;
}

.icon{
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.icon i{
    font-size: 28px;
    margin-right: 5px;
}

.icon p{
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0;
}

.dada{
    font-size: 12px;
    margin-bottom: 0;
    font-weight: normal;
}

.calories-left-circle{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    border: 3px solid black;
    border-radius: 50%;
    text-align: center;
    line-height: 1;
    flex-shrink: 0;
    color: white; 
}

.calories-left-circle .calories-number{
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 0px;
}

.calories-left-circle .calories-text{
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0;
}

.sweet-spot-text{
    font-size: 12px;
    margin-left: 20px;
    margin-bottom: 0;
    line-height: 1.2;
    max-width: 150px;
    flex-shrink: 0;
}

.date-navigator{
    margin-top: 20px;
    font-size: 1.1rem;
    color: #367588;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.nav-arrow{
    cursor: pointer;
    font-size: 1.5rem;
}
.date-display i{
    margin-right: 5px;
}

.oContainer{
    display: flex;
    justify-content: center; 
    align-items: center;
    padding-top: 50px;
    gap: 30px;
}

.boxContainer{
    width: 350px;
    background-color: #ddd;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: black;
    gap: 15px;
    display: flex;
    align-items: center;
    flex-direction: column; 
    text-align: center;
}

.boxContainer img{
    width: 150px;
    height: 150px;
    border-radius: 10px; 
    object-fit: cover; 
}
.boxContainer .description {
    flex-grow: 1; 
}

.padding{
    padding-top: 50px;
    padding-bottom: 50px;
}

.box2{
    flex-direction: column;
    align-items: flex-start;
    width: 700px;
    position: relative;
    height: auto;
    padding-bottom: 20px;
}

.anoDescription{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.whiteBox{
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 8px;
    margin-top: 20px;
    width: 100%;
}

.pColor{
    margin: 0;
    font-size: 12px;
    color: #666;
}

.fImg{
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

#mealCarousel{
    padding-top: 20px;
    width: 100%;
}

.carousel-item{
    text-align: center;
}

.carousel-control-prev, .carousel-control-next{
    width: 5%;
    background-color: rgba(0, 0, 0, 0.3); 
    opacity: 0.7; 
}
.carousel-control-prev-icon, .carousel-control-next-icon{
    background-color: grey; 
    border-radius: 50%; 
    padding: 15px;
}

#mealCarousel{
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.carousel-inner{
    padding-left: 0;
    padding-right: 0;
}

#mealCarousel .carousel-inner {
    width: 100%;
}

.metrics-container{
    display: flex;
    align-items: flex-end;
    margin-left: 30px;
    margin-right: 30px;
    flex-shrink: 0;
}