.header-container { display: flex; justify-content: space-between; align-items: center; padding: 0vw 1vw; background-color: #03182d; box-shadow: 0 0.4vw 0.8vw rgba(0, 0, 0, 0.2); width: 100%; position: sticky; top: 0; z-index: 1000; } .logo img { max-width: 5vw; height: auto; background: #e5e7eb; border-radius: 50%; margin: 0.5vw; } .home-btn img { width: 5vw; } .home-btn img:hover { transform: scale(1.1); } h1 { font-size: 3vw; color: white; font-family: Super Cartoon; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } @font-face { font-family: 'Super Cartoon'; src: url('../../assets/font/Super Cartoon.ttf') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; } .chat-container { display: flex; flex-direction: column; height: 100vh; width: 100%; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .chat-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: fill; z-index: -1; opacity: 0.2; } .chat-header { text-align: center; background: linear-gradient(to right, #4ca1af, #6ac5cb); color: white; padding: 0px 0; font-size: 2.2rem; font-weight: bold; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); flex-shrink: 0; } .chat-box { display: flex; flex-direction: column; overflow-y: auto; height: calc(100vh - 180px); padding: 2vw; background-color: rgba(35, 34, 32, 0.43); scroll-behavior: smooth; flex-grow: 1; padding-bottom: 90px; } .input-box { display: flex; gap: 10px; padding: 8px; background: #03182d; box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); flex-shrink: 0; width: 100%; height: auto; min-height: 40px; font-weight: bold; } .input-box textarea { flex: 1; height: auto; max-height: 80px; overflow-y: auto; resize: none; padding: 8px; font-size: 1rem; line-height: 1.2; border: 1px solid rgb(93, 145, 195); border-radius: 8px; background: rgba(255, 255, 255, 0.04); color: white; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease; width: 100%; box-sizing: border-box; } .input-box textarea:focus { border-color: rgb(135, 185, 235); box-shadow: 0 0 5px rgba(93, 145, 195, 0.6); text-align: left; vertical-align: middle; line-height: normal; font-size: 1rem; color: white; font-weight: bold; } .input-box textarea::placeholder { text-align: left; vertical-align: middle; line-height: normal; font-size: 1rem; color: rgba(255, 255, 255, 0.5); } .input-box button { width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; background: #5d91c3; border: none; border-radius: 8px; cursor: pointer; } .input-box button:hover { transform: scale(1.05); box-shadow: 0px 4px 10px rgba(14, 165, 233, 0.4); } .button-icon { width: 34px; height: 34px; object-fit: contain; } .resume-icon { width: 40px; height: 40px; object-fit: contain; } .pause-icon { width: 31px; height: 31px; object-fit: contain; } .suggestion-box { position: absolute; bottom: 100%; width: 100%; background: #d1dae3; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); color: black; z-index: 100; padding: 8px 0; } .suggestion-box ul { list-style: none; margin: 0; padding: 0; } .suggestion-box li { padding: 8px 12px; cursor: pointer; font-size: 1rem; transition: background-color 0.3s ease; color: rgb(67 65 65); } .suggestion-box li:hover { background-color: rgba(0, 0, 0, 0.1); border-radius: 4px; } .input-container { display: flex; flex-direction: column-reverse; position: relative; width: 100%; } .input-box { display: flex; gap: 10px; padding: 8px; background: #03182d; box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); flex-shrink: 0; width: 100%; height: auto; min-height: 40px; } .listening-box { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgb(171 188 205); padding: 45px; border-radius: 20px; width: 30vw; height: auto; min-height: 40vh; box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: fadeInScale 0.3s ease-in-out; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.2); text-align: center; } .microphone-image { width: 100px; height: 100px; display: block; margin: 0 auto 20px; animation: pulse 1.5s infinite alternate ease-in-out; } @keyframes pulse { from { transform: scale(1); filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.4)); } to { transform: scale(1.2); filter: drop-shadow(0px 0px 14px rgba(0, 0, 0, 0.7)); } } .listening-box p { font-size: 15px; color: black; font-weight: bold; text-align: center; margin: 10px 0; text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3); margin-top: 3vw; } .listening-actions { display: flex; justify-content: center; gap: 70px; margin-top: 65px; width: 100%; } .mute-btn, .close-btn { background: rgba(255, 255, 255, 0.3); border: none; padding: 15px; border-radius: 50%; cursor: pointer; transition: transform 0.2s ease-in-out, background 0.3s; width: 75px; height: 75px; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } .mute-btn img, .close-btn img { width: 50px; height: 50px; } .mute-btn:hover { background: rgba(255, 0, 0, 0.5); transform: scale(1.15); } .close-btn:hover { background: rgba(0, 0, 0, 0.5); transform: scale(1.15); } @keyframes fadeInScale { from { opacity: 0; transform: translate(-50%, -50%) scale(0.85); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } } .error-text { color: black; background: #ffccccad; font-size: 2vw; font-weight: bold; text-align: center; padding: 8px 12px; border-radius: 5px; cursor: pointer; width: auto; margin-top: 10px; display: inline-block; white-space: nowrap; transition: background 0.3s; } .error-text:hover { background: #ffaaaa; } .popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 1000; } .popup-box { background: white; padding: 20px; border-radius: 8px; width: 300px; text-align: center; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); } .popup-box h3 { font-size: 18px; margin-bottom: 10px; } .popup-box p { font-size: 14px; color: #555; } .popup-button { background: #007bff; color: white; border: none; padding: 10px 20px; font-size: 14px; border-radius: 5px; cursor: pointer; margin-top: 10px; } .popup-button:hover { background: #0056b3; } .typing-indicator { display: flex; align-items: center; gap: 8px; font-style: italic; color: #ffffff; font-size: 1.2vw; margin-left: 4vw; margin-top: 1vw; background: rgba(255, 255, 255, 0.2); padding: 0.8vw 1.5vw; border-radius: 2vw; width: fit-content; animation: fadeIn 0.3s ease-in-out; } .typing-indicator span { width: 10px; height: 10px; background-color: #ffffff; border-radius: 50%; display: inline-block; animation: typingDots 1.5s infinite ease-in-out; } .typing-indicator span:nth-child(1) { animation-delay: 0s; } .typing-indicator span:nth-child(2) { animation-delay: 0.2s; } .typing-indicator span:nth-child(3) { animation-delay: 0.4s; } @keyframes typingDots { 0%, 100% { transform: scale(0.8); opacity: 0.3; } 50% { transform: scale(1); opacity: 1; } } @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } .hardcoded-questions-container { display: flex; justify-content: flex-start; gap: 15px; padding: 10px; background: rgba(255, 255, 255, 0.1); border-radius: 8px; margin-bottom: 5px; flex-wrap: wrap; position: absolute; bottom: 60px; left: 10px; width: auto; } .hardcoded-question { padding: 10px 15px; background: rgba(200, 200, 200, 0.3); border-radius: 5px; font-size: 14px; font-weight: bold; cursor: pointer; transition: background 0.3s ease, transform 0.2s ease; white-space: nowrap; border: 1px solid rgba(0, 0, 0, 0.2); } .hardcoded-question:hover { background: rgba(180, 180, 180, 0.5); transform: scale(1.05); } @media (max-width: 600px) { .hardcoded-questions-container { width: 90%; bottom: 80px; left: 10px; } .hardcoded-question { font-size: 12px; padding: 8px 12px; } } .message-wrapper { display: flex; align-items: flex-start; gap: 1vw; margin-bottom: 1vw; } .message-wrapper.user { flex-direction: row-reverse; text-align: right; } .message-wrapper.ai { flex-direction: row; text-align: left; } .profile-pic { width: 4vw; height: 4vw; border-radius: 50%; overflow: hidden; background-color: #ddd; } .profile-pic img { width: 100%; height: 100%; object-fit: cover; } .ai .message { align-self: flex-start; background: #2b6296; color: white; } .user .message { align-self: flex-end; background: #2b6296; color: white; } .message-timestamp { font-size: 0.8vw; color: rgba(255, 255, 255, 0.8); margin-top: 0.5vw; display: block; text-align: right; } .paragraph-block { background: #2b6296; color: white; padding: 1vw; border-radius: 1vw; margin-bottom: 0.5vw; box-shadow: 0 0.3vw 0.8vw rgba(0, 0, 0, 0.1); line-height: 1.5; max-width: 48vw; } .message { max-width: 50vw; padding: 1vw 2vw; border-radius: 2vw; font-size: 1.2vw; line-height: 1.5; box-shadow: 0 0.3vw 0.8vw rgba(0, 0, 0, 0.1); background: #2b6296; color: white; } .structured-response { background: #2b6296; color: white; padding: 1vw; border-radius: 1vw; margin-bottom: 0.3vw; box-shadow: 0 0.3vw 0.8vw rgba(0, 0, 0, 0.1); line-height: 1.4; max-width: 48vw; word-break: break-word; } .structured-response b { display: inline-block; margin-top: 0.3vw; } .structured-response br { display: block; content: ""; margin: 0.2vw 0; } .structured-response ul, .structured-response ol { padding-left: 1.2vw; margin-bottom: 0; } .structured-response ul li, .structured-response ol li { margin-bottom: 0.2vw; line-height: 1.4; }