/************NON-SECURE AREA************/
#feedback{
	display: none;
	color: white;
	background-color: green;
	padding: 1rem;
	font-size: 1.1rem;
}
/***************************************/
/***************************************/
/***************************************/

/***********SECURE AREA***********/
/***********SECURE AREA***********/
/***********SECURE AREA***********/
#feedback2{
	display: none;
	position: fixed;
	font-family: "Tahoma",sans-serif;
	text-align: center;
	color: white;
	background-color: green;
	padding: 0.5rem;
	font-size: 1.1rem;
	width: 77.5vw;
	z-index: 10;
}

#middle-section{
	display: flex;
}

#maincontent{
	background-color: azure;
	width: 80vw;
/*	border: 2px solid red;*/
}
.innerheadings{
	margin-top: 0;
}

#maincontent-head{
	display: flex;
	align-items: center;
	font-variant: small-caps;
	padding: 0 25px 0 20px;
/*	border: 2px solid navy;*/
}
#maincontent-head #activetitle{
	font-size: 1.2rem;
	font-weight: 500;
}


#maincontent-body{
	height: 83vh;
	overflow-x: hidden;
}

/****************************/
/*LOADING 2*/
/****************************/

  /* Container covering the full viewport */
   /* Full-screen loading container with transparent background */
  #loading-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000000;
    display: flex;
/*    display: none;*/
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: transparent; /* Transparent background */
    font-family: 'Arial', sans-serif;
	  cursor:not-allowed;
  }

  /* Enhanced loading text styling */
  #loading-text {
    font-size: 1.5rem;           /* Larger font size */
    color: white;                /* White text for high contrast */
    font-weight: bold;           /* Bold text for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);  /* Shadow to improve legibility */
    margin-bottom: 20px;
    text-align: center;
  }

  /* Spinner styling */
  .spinner {
    border: 8px solid #f3f3f3;      /* Light gray border */
    border-top: 8px solid #3498db;    /* Blue accent for the spinner */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
  }

  /* Keyframes for spinner animation */
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/*NOTICE BOARD*/
  /* Full-screen overlay with a semi-transparent dark background */
  #noticeboard {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  /* Notice board container styled as a card */
  .noticebody {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: calc( 90% - 4rem);
    max-width: 500px;
  }

  /* Notice message styling */
  .noticeboardmsg {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
  }

  /* Styled close button with hover transition */
  .closenoticeboard {
    background-color: #ff4d4f;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }

  .closenoticeboard:hover {
    background-color: #d9363e;
  }
/**********/

/**********/



  /* Responsive adjustments for smaller screens */
  @media (max-width: 800px) {
    .spinner {
      width: 40px;
      height: 40px;
      border: 6px solid #f3f3f3;
      border-top: 6px solid #3498db;
    }
  }
/***********/



@media (max-width:800px){
	#maincontent{
		width: 100vw;
/*		border: solid 3px red;*/
	}
	
	#feedback2{
		width: 100vw;
	}
	
/*
	#mainbody{
		height: calc(100vh - 71px);
		border: 1px solid navy;
	}
*/
	#maincontent-body{
		height: 75vh;
	}
}

/***************************************/
/***************************************/
/***************************************/
