/* Dashboard specific styles */
body {
  background-color: #F5F5F5;
  margin: 0;
  padding: 0;
}

.employee-info-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  padding: 15px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  height: auto;
  transition: all 0.3s ease;
}

.d-flex {
  align-content: flex-start;
}

.employee-info-card .card-title {
  font-weight: bold;
  color: #000000;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.employee-info-card .card-body {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  flex-direction: column;
  justify-content: space-evenly;
  height: 100%;
  padding: 10px;
  gap: 15px;
  margin: 0;
}

.employee-info p {
  margin: 5px 15px 5px 0;
  font-size: 18px;
}

/* Ensure uniform column width and alignment */
.requests-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .requests-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
  }
  
  .requests-column {
    width: 30%;
    text-align: center;
  }
  
  /* Ensure the stage indicators are aligned properly */
  .stage-indicator {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .stage-indicator span {
    margin-left: 8px;
  }

.employee-info-card .employee-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Employee info grid layout */
.employee-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: auto;
  gap: 15px;
  padding: 10px;
  margin: 0;
  align-items: center;
}

.info-item {
  display: flex;
  align-items: baseline;
  gap: 15px;
  padding: 8px 0;
}

.info-label {
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
  min-width: 100px;
  font-size: 16px;
}

.info-value {
  margin: 0;
  color: #666;
  flex: 1;
  font-size: 16px;
}

.employee-asset-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  padding: 15px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  height: auto;
  transition: all 0.3s ease;
}

.employee-asset-card .card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-left: 10px;
}

/* Assets card styles */
.assets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 15px;
  flex: 1;
}

.asset-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.2s ease;
}

.asset-item:hover {
  background-color: #f9f9f9;
}

.asset-item:last-child {
  border-bottom: none;
}

.asset-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
}

.asset-name {
  flex: 1;
  text-align: center;
  font-size: 16px;
}

.asset-count {
  margin: 0 10px;
  color: #666;
  font-size: 16px;
  padding: 4px 8px;
  border-radius: 12px;
  background-color: #f5f5f5;
}

.view-more-btn {
  color: #00ACE8;
  background-color: #F2FBFE;
  border: none;
  width: 100%;
  margin-top: auto;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.view-more-btn:hover {
  background-color: #E6F7FE;
  color: #0096cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Make the entire home container have more breathing room */
.home-dashboard-container {
  padding-bottom: 40px !important;
}

/* response for the employee info card */

@media (max-width: 1470px) {
  .employee-info-card {
    align-items: center;
  }
  .info-item {
    gap: 78px;
  }
}

@media (max-width: 1302px) {
  .employee-info-card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1075px) {
  .info-item {
    gap: 18px;
  }
}

@media (max-width: 945px) {
  .info-item {
    gap: 8px;
  }
}

@media (max-width: 845px) {
  .info-item {
    gap: 0px;
  }
}

@media (max-width: 768px) {
  .employee-container {
    margin-bottom: 25px;
  }
}

/*
@media (max-width: 810px) {
  .home-dashboard-container {
    padding-left: 40px !important;
  }
}
*/

@media (max-width: 650px) {
  .info-item {
    flex-direction: column;
    align-items: center;
  }
  .info-label {
    min-width: 1px;
  }
}

@media (max-width: 500px) {
  .home-dashboard-container {
    padding-left: 0px !important;
  }
}