body {
    background-color: #f8f9fa;
  }
  
  .nav-pills .nav-link {
    font-weight: 600;
    text-align: center;
  }
  
  .nav-pills .nav-link.active {
    background-color: #4c60af;
    color: white;
  }
  
  .card {
    border: none;
    border-radius: 8px;
  }
  
  textarea, input {
    resize: none;

  }

  
  button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
  }

  .row .col-md-6 {
    padding-right: 15px;
    padding-left: 15px;
  }
  
  @media (max-width: 576px) {
    .row .col-md-6 {
      padding-right: 0;
      padding-left: 0;
    }
  }
  
  .profile-pic-container {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
    transition: transform 0.3s ease;
  }
  
  .profile-pic-container img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
  
  .profile-pic-container img:hover {
    transform: scale(1.1);
  }
  
  .profile-pic-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
  }
  
  .profile-pic-container:hover .overlay {
    opacity: 1;
  }
  

  .header {
    background-color: #ffffff; /* Beautiful blue color */
    color: rgb(255, 255, 255);
    padding: 15px 20px;
  }
  
  .logo {
    height: 50px;

/* Circular logo */
    object-fit: cover;
  }
  
  .header-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
  }
  

  .profile-pic-container:hover{
    transform: scale(1.1);
  }



  


  .addrecounds {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.tablecon{
    width: 100%;
    overflow-x: scroll;
    margin: 20px 0;

}

.addrecounds thead {
    background-color: #0074d9; /* Blue theme */
    color: #fff;
    text-align: left;
}

.addrecounds thead th {
    padding: 12px 15px;
    font-weight: bold;
    border-bottom: 2px solid #0074d9;
}

.addrecounds tbody tr {
    background-color: #f4faff;
    transition: background-color 0.3s;
}

.addrecounds tbody tr:nth-child(even) {
    background-color: #e8f4ff; /* Alternating row colors */
}

.addrecounds tbody tr:hover {
    background-color: #d9ebff; /* Hover effect */
}

.addrecounds td {
    padding: 12px 2px;
    border-bottom: 1px solid #ddd;
    min-width: 120px;
    color: black;
}

.addrecounds select,
.addrecounds input {
    width: calc(100% - 4px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    color: #333;

}

.addrecounds select:focus,
.addrecounds input:focus {
    border-color: #0074d9;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 116, 217, 0.5);
}

.addrecounds input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(35%) sepia(50%) saturate(200%) hue-rotate(190deg);
    cursor: pointer;
}

.addrecounds input::placeholder {
    color: #aaa;
    font-style: italic;
}

.addrecounds {
    background-color: #ff4136; /* Red delete button */
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

  

.addrecounds select {
    background-color: #fff;
}






/* Popup Container Styles */
.popup-container {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Popup Content Styles */
.popup-content {
    position: relative;
    margin: 10% auto;
    background-color: #fff;
    border-radius: 10px;
    width: 60%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-family: Arial, sans-serif;
    color: #333;
    cursor: pointer;
}

/* Table Styles */
#docTable table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#docTable th, #docTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    color: black;
}

#docTable th {
    background-color: #f2f2f2;
    font-weight: bold;
}

#docTable tr:hover {
    background-color: #f1f1f1;
}


/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.red-star{
  color: red;
}



.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content h2 {
  margin-top: 0;
  text-align: center;
}

.popup-content form, .acmeseform {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.popup-content label {
  font-weight: bold;
}

.popup-content input,
.popup-content select {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.acmeseform input,
.acmeseform select {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.popup-content textarea {
  resize: none;
  height: 80px;
  grid-column: span 3; /* Textarea spans all three columns */
}

.button-group {
  grid-column: span 3; /* Buttons span all three columns */
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.button-group button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.popup-content #saveButton {
  background-color: #4CAF50;
  color: white;
}

.popup-content #cancelButton {
  background-color: #f44336;
  color: white;
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
  .popup-content form {
      grid-template-columns: 1fr;
  }

  .popup-content textarea {
      grid-column: span 1;
  }

  .popup-content .button-group {
      flex-direction: column;
      gap: 10px;
  }
}
.flexend{
  justify-content: end;
}


.bigmarginbottom{
  margin-bottom: 15px;
  color: #ff5e0080;
}


.row{
  margin-bottom: 10px;
}


#successOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  animation: fadeIn 1s forwards ease-in-out;
}

#successOverlay .content {
  text-align: center;
  animation: popIn 0.6s ease-out;
}

#successOverlay .content i {
  font-size: 5rem;
  color: #28a745;
  animation: bounce 1.5s infinite ease-in-out;
}

#successOverlay .content p {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-family: Arial, sans-serif;
  color: #333;
  animation: fadeText 2s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@keyframes popIn {
  0% {
      transform: scale(0.8);
      opacity: 0;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-20px);
  }
}

@keyframes fadeText {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

.viewdocbtn {
  border: none;
  border-radius: 5px;
  color: white;
  background-color: #0074d9;

}



.addrecounds {
  background-color: #ff4136;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.delete-btn {
  background-color: #ff4136;
  color: #fff;
  border: none;  
  width: fit-content;
  padding: 8px 10px;
  text-align: center;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-left: 3px;
}

.addrecounds .delete-btn:hover {
  background-color: #e32e28;
}



.edit-btn1{
  cursor: pointer;
  width: fit-content;
  padding: 8px 10px;
  text-align: center;
  background-color: #28a745;
  border-radius: 5px;
  color: white;
  margin-left: 3px;
}

.popup-content #cancelButton1 {
  background-color: #f44336;
  color: white;
}

#forchklcl {
  color: rgb(255, 63, 63);
}

/* Hide default checkbox */
#checklocaladd {
  display: none;
}

/* Switch container */
.ios-switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 14px;
}

/* Background */
.ios-switch::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ccc;
  border-radius: 50px;
  transition: background 0.3s;
}

/* Slider (circle) */
.ios-switch::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  top: 0;
  left: 2px;
  transition: 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Checked state */
#checklocaladd:checked + .ios-switch::before {
  background: #4cd964; /* iOS green */
}

#checklocaladd:checked + .ios-switch::after {
  transform: translateX(13px);
}

#USvisaCountry::-ms-value {
  content: United States of America (USA);
}