.ai-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  min-height: 100vh;
}
.greet {
  text-align: center;
  margin-bottom: 40px;
}

.greet h1 {
  font-size: 40px;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.greet p {
  font-size: larger;
  padding-bottom: 40px;
}

.aicards {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.aicard {
  display: flex;
  flex-direction: column;
  max-width: 250px;
  height: 150px;
  background-color: #222a36;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.aicard h3 {
  text-align: center;
  margin: 0;
}

.iconbg {
  font-size: 24px;
  align-self: end;
  padding: 10px 10px;
  border-radius: 50%;
  background-color: #3a4455;
}
.aicard1[class] .iconbg {
  color: #ff6f61;
}
.aicard2[class] .iconbg {
  color: #6bc1ff;
}
.aicard3[class] .iconbg {
  color: #f9d56e;
}

.aicard:hover {
  background-color: #2c3746;
  cursor: pointer;
}

.searchbox {
  position: relative;
  margin-top: 40px;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #1d2430;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.searchbox input[type="text"] {
  min-width: 200px;
  flex: 1;
  border-radius: 50px;
  background-color: transparent;
  padding: 20px 70px;
  border: none;
  outline: none;
  color: white;
  font-size: 16px;
}

.searchbox input[type="text"]::placeholder {
  color: #f1e7e7;
}

#upload-btn {
  display: none;
}

.custom-upload-label {
  position: absolute;
  left: 10px;
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-upload-label:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.sendicon {
  position: absolute;
  right: 10px;
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sendicon:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.searchbar,
.langbar,
.time {
  display: none;
} 
.top-nav {
  justify-content: end;
}

.chat {
  margin-top: 40px;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}
/* .ai-reply,
.h-reply {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}
.ai-reply {
  justify-content: flex-start;
}
.h-reply {
  justify-content: flex-end;
}
.aiprofileicon,
.hprofile {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #007bff;
  color: white;
  flex-shrink: 0; 
}
.hprofile {
  margin-right: 0;
  margin-left: 10px;
  background-color: #28a745;
}
.aiprofileicon i {
  font-size: 20px;
}
.hprofile img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.ai-reply p,
.h-reply p {
  background-color: #e9ecef;
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 70%;
  word-wrap: break-word;
}
.h-reply p {
  background-color: #007bff;
  color: white;
} */

.aioverview {
    width: 100%;
    min-height: 250px;
    padding: 20px 25px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    color: #e5e7eb;
    display: none;
    animation: fadeIn 0.35s ease-in-out;
}

.aioverview h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.aioverview p {
    font-size: 14px;
    line-height: 1.7;
    color: #d1d5db;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
  .aicards {
    display: none;
  }
}
