
        .header-body-objectives {
            text-align: center;
            margin-bottom: 30px; /* Increased margin */
            color: #333; /* Darker heading color */
        }

        .page-body-objectives {
            margin-bottom: 30px; /* Increased margin */
        }

        .blah-blah-body-objectives {
            font-style: italic;
            color: #777;
            margin-bottom: 20px;
        }

        .current-weight-body-objectives {
            font-weight: bold;
            margin-bottom: 20px;
            font-size: 1.2em; /* Slightly larger font size */
            color: #555;
        }

	/*********RADIO BUTTON ON BODY OJECTIVES - IMPLEMENT GENERIC ONES BELOW WHICH ARE THE SAME***********/
        /* Style the radio buttons */
        .radio-section-body-objectives {
            margin-bottom: 20px;
            padding: 15px;
            border: 1px solid #eee; /* Add a subtle border */
            border-radius: 10px;
        }
		
		  .radio-group-title-body-objectives {
            font-weight: bold; /* Make the title bold */
            margin-bottom: 10px;
        }
		
		
.radio-group-body-objectives {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center; /* Optional: center the grid */
}

.radio-label-body-objectives {
  flex: 1 1 calc(25% - 1rem); /* 4 columns */
  max-width: 120px;    
  min-width: 120px;
  background: #f9f9f9;
   padding: 1em !important;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #316dad;
}


/* Responsive: 2 columns on small screens */
@media (max-width: 600px) {
  .radio-label-body-objectives {
    flex: 1 1 calc(50% - 1rem); /* 2 columns */
  }
}
	

        .radio-label-body-objectives:hover {
            border-color: #999;
        }

        .radio-label-body-objectives input[type="radio"] {
            display: none; /* Hide the default radio button */
        }

        .radio-label-body-objectives input[type="radio"]:checked + span {
            background-color: #316dad; /* Change background color to blue */
            color: #fff;
            border-color: #007bff;
            border-radius: 10px; /* Add border-radius to match the button */
        }

        .radio-label-body-objectives span {
            display: block;
            text-align: center; /* Center the text */
        }

        .radio-label-body-objectives .descriptor {
            font-weight: bold;
            display: block;
            margin-bottom: 5px;
        }

        .radio-label-body-objectives .calories {
            font-size: 0.9em;
            display: block;
            line-height: 1.2;
        }

        .bmr-value-body-objectives {
            font-size: 1.5em;
            font-weight: bold;
            margin-top: 20px;
			background:#316dad;
			color:white;
			padding: 12px 30px;
			border-radius:5px;
        }
		
		/************MAKE SLIDERS (ON BODY OBJECTIVES) GENERIC *****************************/

        .slider-section-body-objectives {
            margin-top: 30px;
        }

        .slider-label-body-objectives {
            display: block;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .slider-body-objectives {
            width: 100%;
            -webkit-appearance: none; /* Override default look */
            appearance: none;
            height: 10px;
            background: #ddd;
            border-radius: 5px;
            outline: none;
            transition: background 0.2s;
        }

        .slider-body-objectives::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            background: #007bff;
            border-radius: 50%;
            cursor: pointer;
        }

        .slider-body-objectives::-moz-range-thumb {
            width: 20px;
            height: 20px;
            background: #007bff;
            border-radius: 50%;
            cursor: pointer;
        }

        .calorie-output-body-objectives {
            font-size: 1.2em;
            font-weight: bold;
            margin-top: 20px;
        }
		
		@media screen and (max-width: 600px) { /* Adjust max-width as needed */
		.calorie-output-body-objectives {
			  font-size: 1em;
			  font-weight: bold;
			  margin-top: 20px;
			  padding: 5px;
		 }
		}		

        .navigation-body-objectives {
            display: flex;
            justify-content: center; /* Center the buttons */
			margin-bottom:10px;
        }

		/********SWAP FOR A GENERIC BUTTON*************************************************************/
        .button-body-objectives {
            padding: 12px 30px; /* Increased padding */
            background-color: #007bff;
            color: #fff;
            border: none;
            border-radius: 8px; /* More rounded corners */
            cursor: pointer;
            font-size: 1.1em; /* Larger font size */
            transition: background-color 0.3s ease;
            margin: 0 10px; /* Add some horizontal margin */
        }

        .button-body-objectives:hover {
            background-color: #0056b3;
        }

        .button-body-objectives:disabled {
            background-color: #ccc;
            cursor: not-allowed;
			display:none;
        }

        .footer-body-objectives {
            text-align: center;
            margin-top: 30px; /* Increased margin */
            color: #777;
        }
		
		.not-possible{
			background-color:red;
			color:white;			
		}
		
		#calorie_output_page7.low-calorie {
			background-color: orange;
			color:black;
		}
		
		#calorie_output_page7.okay-calorie{
			background-color: green;
			color:white;	
		}
		
/**********success message - body objectives************/

	.success-message-objectives {
	  background-color: #E0F2F7;
	  border: 1px solid #c3e6cb;
	  color: #155724;
	  padding: 10px;
	  margin-bottom: 10px;
	  position: relative;  /*Crucial for positioning the close button */
	  overflow: auto; /* Enable scrolling if content overflows */
	  max-height: 80vh;  /*Limit height to 80% of viewport height so the message doesn't cover everything */

	  /* Alternative: Smaller font to avoid wrapping */
	  /* font-size: 0.8em; */
	}
	/* Add class for making font smaller*/
	.success-content{
		font-size: 0.8em;
	}

	.navigation-buttons {
	  display: flex;
	  justify-content: space-around;
	  margin-top: 20px;
	  width: 100%;/*Allow buttons to take up whole width and not wrap*/
	  flex-wrap: wrap; /*Allows the buttons to wrap if they are too big*/
	  text-align: center; /* Center the text in the buttons */
	}

	.navigation-buttons a{
		flex-basis: 30%; /* Makes each element take up 30% of available space */
		margin-bottom: 10px; /* Adds spacing between the buttons */
		box-sizing: border-box; /* Includes padding and border in the element's total width */
		text-align: center; /* Center the text in the buttons */
	}

	.close-button {
	  position: absolute;
	  top: 15px;
	  right: 15px;
	  font-size: 20px;
	  font-weight: bold;
	  color: #721c24;
	  text-decoration: none;
	  cursor: pointer;
	}

	.success-message-label{
		font-weight: bold;
	}
	/**********error message************/
	.error-message {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 10px;
	margin-bottom: 10px;
	}
	/**********end error message************/

	

        /* Responsive Design */
        @media (max-width: 600px) {
           /* .container-body-objectives {
                width: 95%;
                margin: 10px auto;
                padding: 20px; 
            }
			*/

            .button-body-objectives {
                padding: 10px 20px; /* Adjusted padding */
                font-size: 1em; /* Adjusted font size */
            }

            .radio-label-body-objectives {
                width: 130px; /* Adjust width for smaller screens */
                padding: 10px 15px; /* Adjusted padding for smaller screens */
                font-size: 1em; /* Adjusted font size for smaller screens */
            }
			
			.success-message-label{
				display: block;
				width: 100%;
				font-weight: bold;
		}
			.navigation-buttons {
				flex-direction: column; /* Stack the buttons vertically */
		}
			.navigation-buttons a {
			width: 100%; /* Make buttons full width */
			margin-bottom: 5px; /* Add some spacing between stacked buttons */
			text-align: center; /* Center the text in the buttons */
		}
			
    }
	
	/*end 600px screen and muiltipage form*/