/* style.css */
html, body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #dadada; 
    /* color: #2C3E50;  */
    /* background: #cfe2f3; */
    
}


.container {
    max-width: 90%;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    padding-top: 0;
    min-height: 800px; /* Adjust height as needed */
    
}

.spaced-container {
    max-width: 95%; /* Adjusts the overall container width */
    margin: 40px auto; /* Centers the container */
    margin-bottom: 120px; /* Extends the container space at the bottom */
    padding-bottom: 60px; /* Adds space inside the container */
    min-height: 800px; /* Ensures a minimum height */
}

.container h5 p {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color:#274057;
    margin-bottom: 20px;
}

.btn {
    background: linear-gradient(135deg, #274057, #3a5c77);
    color: #fff;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    font-size: 16px;
    padding: 10px 25px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.create{
    margin-left: 20px !important;
}

.btn:hover {
    background: linear-gradient(135deg, #3a5c77, #274057);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Make form question labels bold */
.form-group label {
    font-size: 16px;
    font-weight: bold;
    color: #274057;
    margin-bottom: 5px;
    display: inline-block;
   
}

.form-control {
    padding: 10px !important;
    font-size: 14px !important;
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    background-color: #f8f9fa !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.form-control:hover,
.form-control:focus {
    border-color: #274057 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 4px rgba(39, 64, 87, 0.4) !important;
}

/* Make radio button labels normal weight */
.form-check-label {
    font-weight: normal;
}

/* Ensure consistent spacing between radio button options */
.form-check-inline {
    margin-right: 15px;
}


.navbar-brand {
    font-weight: bold;
    font-size: 24px;
}


.btn-create {
    margin-right: 15px;
    float: right;
}

.form-group label {
    font-weight: bold;
}


.tabs-section {
    background-color: #f8f9fa; /* Light gray for the tabs container */
    border-radius: 8px;
    padding: 20px;
}

.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #e0e0e0; /* Bottom border for the whole nav */
    gap: 10px; /* Space between tabs */
}

.nav-item {
    margin-bottom: -2px; /* Aligns the bottom borders with the active tab */
}

.nav-link {
    padding: 12px 10px;
    font-size: 16px;
    font-weight: bold;
    color: #6c757d; 
    background-color: #dadada !important; 
    border: 1px solid #ced4da !important; 
    border-bottom: 2px solid #e0e0e0 !important;
    border-radius: 8px 8px 0 0; 
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}
.nav-link i {
    font-size: 18px; 
    color: #6c757d; 
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    background-color: #dee2e6; 
    color: #495057; 
}

.nav-link.active {
    background-color: #16537e !important; 
    color: #fff !important; 
    border-bottom: 2px solid #ffffff !important; 
    z-index: 1; 
}

.report-tab {
    background-color: #274057 !important; 
    color: white !important; 
    font-weight: bold;
    border: 1px solid #ced4da;
    border-radius: 8px 8px 0 0;
}

.report-tab:hover {
    background-color: #466785 !important; 
    color: #ffffff !important;
}

.tab-content {
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: -2px;
    /* min-height: 800px;  */
    height: auto !important;
}



#content-iframe {
    width: 100%;
        border: none; /* Removes default border */
   
}


.tab-pane {
    min-height: 400px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
        border-bottom: none;
    }

    .nav-link {
        margin-bottom: 5px;
        border-radius: 4px;
    }

    .nav-link.active {
        border-bottom: 2px solid #1ABC9C; 
    }
}

/* Header styling */
.header-container {
    border: 2px solid #ccc; 
    background-color: #f1f1f1; 
}

/* Logo styling */
.header-logo {
    height: 60px; 
    width: 60px;
}

label {
    font-weight: normal;
}

form label {
    font-weight: normal !important;
}


@media print {
    /* Reduce circle size for printing */
    .circle {
        width: 90px;
        height: 90px;
        font-size: 12px;
    }

    /* Adjust grid system to fit more columns per row */
    .col-md-4 {
        max-width: 30%; /* Adjust to fit 3 columns */
        flex: 0 0 30%;
        padding: 5px;
    }

    /* Reduce margins and padding */
    .row {
        margin-bottom: 5px;
    }
    .mb-3 {
        margin-bottom: 5px !important;
    }
}


/* Header & Navbar */
header {
    width: 100%;
    background-color: #4663ac;
      }
  
  nav {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 0 20px; */
    /* background: #16537e; */
    background: linear-gradient(135deg, #16537e, #274057);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) ;
    padding: 10px 20px;

  }

  .logo {
    display: flex;
    align-items: center; 
    color: white;
    font-size: 28px;
    font-weight: bold;
    /* text-transform: uppercase; */
    line-height: 1; 
    letter-spacing: 1.5px;
    /* margin: 0;  */
}
  
  /* Logo styling */
  .logoImage {
    height: 50px !important;
    width: 70px !important;
    margin-left: 20px;
    display: block;
  }

  img {
    width: 60px !important;
    aspect-ratio: auto 50 / 50;
    height: 55px !important;
}
  
  label.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  /* Navigation Links */
  nav ul {
    display: flex;
    margin-right: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
    padding-right: 25px;
  }
  
  nav ul li {
    list-style: none;
    margin-left: 20px;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    /* padding: 8px 12px; */
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover {
    /* background-color: #333; */
    border-radius: 4px;
    color: #f8f9fa !important;
  }

  .logo span {
    animation: flyInLetter 0.8s ease-in forwards;
    opacity: 0;
    color: #FFFFFF;
    font-weight: 700;
    margin-top: 10px !important;
        margin-bottom: 0px !important;
        font-weight: 700;
        line-height: 1 !important;
    }

   .h2 .logo {
        margin-top: 10px !important;
        margin-bottom: 0px !important;
        font-weight: 700;
        line-height: 1 !important;
    }

    .card {
        background: #ffffff;
        border: 1px solid #e0e0e0 !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
        padding: 20px !important;
        transition: box-shadow 0.3s ease !important;
    }
    
    .card:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .card-body {
        border: none !important;
    }

    .card shadow-sm {
        border: none !important;
    }

/* Delay for fly-in effect */
.logo span:nth-child(1) {
    animation-delay: 0.1s;
}

.logo span:nth-child(2) {
    animation-delay: 0.2s;
}

.logo span:nth-child(3) {
    animation-delay: 0.3s;
}

.logo span:nth-child(4) {
    animation-delay: 0.4s;
}

.logo span:nth-child(5) {
    animation-delay: 0.5s;
}

/* Space after AIR9 */
.logo span:nth-child(6) {
    animation-delay: 0.6s;
}

.logo span:nth-child(7) {
    animation-delay: 0.7s;
}

.logo span:nth-child(8) {
    animation-delay: 0.8s;
}

.logo span:nth-child(9) {
    animation-delay: 0.9s;
}

.logo span:nth-child(10) {
    animation-delay: 1s;
}

.logo span:nth-child(11) {
    animation-delay: 1.1s;
}

.logo span:nth-child(12) {
    animation-delay: 1.2s;
}

@keyframes flyInLetter {
    0% {
        transform: translateY(-50%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
  
  /* Mobile Menu */
  .checkbtn {
    font-size: 30px;
    color: #fff;
    display: none;
  }
  
  #check {
    display: none;
  }
  
  @media (max-width: 768px) {
    nav ul {
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      background-color: #d77829;
      width: 100%;
      height: 100vh;
      display: none;
      text-align: center;
    }
  
    nav ul li {
      margin: 20px 0;
    }
  
    nav ul li a {
      font-size: 20px;
    }
  
    #check:checked ~ ul {
      display: block;
    }
  
    .checkbtn {
      display: block;
    }
  }



  /*** Footer section styling ***/

footer {
    background: linear-gradient(135deg, #16537e, #274057);
    height: 40px;
    text-align: center;
    font-size: 15px;
    bottom: 0;
    width: 100%;
    position: fixed;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  }
  .footerLink {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
  }
  .footer-text {
    color: #fff;
  }
  
  /*** End of Footer section styling ***/


  /* Home page: button and dropdown styles */
.form-group label {
    font-weight: bold;
    margin-left: 20px;
    display: inline-block;
    margin-right: 20px;
}

.form-control {
    display: inline-block;
    width: auto;
     /*max-width: 200px; */
    padding: 8px;
    font-size: 14px;
    border: 1px solid #7F8C8D; 
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

/* On hover or focus */
.form-control:hover,
.form-control:focus {
    border-color: #1ABC9C; 
    outline: none;
}

/* Button styling */
..btn-success {
    background: linear-gradient(135deg, #274057, #3a5c77);
    color: #fff;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #3a5c77, #274057);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #466785, #274057) !important;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #274057, #466785) !important;
    transform: translateY(-2px) !important;
}


/* Align button to the right */
.d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.d-flex .form-group {
    display: flex;
    align-items: center;
}
  /* End of: Home page: button and dropdown styles */