.chat-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
    color: #333;
    transition: all 0.5s ease;
}

.chat-container.centered {
    padding-top: 0;
    margin-top: 25vh;
}

.chat-header {
    text-align: center;
    margin-bottom: 2rem;
    transition: transform 0.5s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.centered .chat-header {
    transform: scale(1.2);
}

.chat-header h1 {
    font-size: 2.5rem;
    color: #000;
}

.ai-text {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chat-box {
    flex: 1;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 2rem;
    overflow-y: auto;
    margin-bottom: 2rem;
    height: calc(100vh - 400px);
    transition: all 0.3s ease;
}

.chat-box:empty {
    display: none;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.message.user-message {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.message-content-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.message.user-message .message-time {
    text-align: right;
    margin-right: 0;
    margin-left: auto;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-red));
    padding: 2px;
}

.message-content {
    padding: 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-message .message-content {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-red));
    color: white;
    margin-left: auto;
}

.bot-message .message-content {
    background: rgba(255, 255, 255, 0.2);
}

.bot-message h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.bot-message h4 {
    color: #333;
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
}

.bot-message .response-section {
    margin-top: 0.5rem;
}

.bot-message .info-block {
    margin-bottom: 1.5rem;
}

.bot-message ul, .bot-message ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.bot-message li {
    margin-bottom: 0.5rem;
}

.bot-message a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bot-message a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

.bot-message .follow-up {
    margin-top: 1rem;
    font-style: italic;
    color: #666;
}

.bot-message strong {
    color: #333;
    font-weight: 600;
}

.bot-message h3 emoji {
    font-size: 1.4rem;
    margin-right: 0.5rem;
}

.message-time {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

.chat-input {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    background: #f8f9fa;
    padding: 0.7rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    margin-bottom: 1rem;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.chat-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #333;
    background: transparent;
    padding: 0.3rem 0;
}

.send-btn {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-red));
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.send-btn i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.send-btn:hover {
    transform: scale(1.1);
}

/* Add styles for the stop state */
.send-btn.stopping:hover {
    background: linear-gradient(45deg, #c82333, #dc3545);
}

.typing-indicator {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: #f0f0f5;
    border-radius: 15px;
    width: fit-content;
    margin-bottom: 1rem;
    opacity: 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes messageAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .chat-container {
        padding: 1rem;
        padding-top: 100px;
        height: 100vh;
    }

    .chat-box {
        height: calc(100vh - 250px);
    }

    .chat-header h1 {
        font-size: 2rem;
    }

    .chat-header p {
        font-size: 1rem;
    }
}

/* Scrollbar Styles */
.chat-box::-webkit-scrollbar {
    width: 10px;
    background: transparent;
}

.chat-box::-webkit-scrollbar-thumb {
    background: rgba(75, 75, 75, 0.5);
    border-radius: 10px;
}

.chat-box::-webkit-scrollbar-track {
    background: transparent;
}

/* For Firefox */
.chat-box {
    scrollbar-width: thin;
    scrollbar-color: rgba(75, 75, 75, 0.5) transparent;
}

/* Add quick actions styles */
.quick-actions {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-action-btn {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.quick-action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.send-btn.rotating {
    transform: rotate(180deg);
}

.send-btn i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.chat-container:not(.centered) {
    justify-content: flex-start;
    padding-top: 120px;
    margin-top: 0;
}

/* Navbar styles */
.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 8%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    gap: 3.5rem;
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-blue);
    margin-right: auto;
}

.navbar .nav-links {
    display: flex;
    gap: 3.5rem;
    align-items: center;
}

.navbar .nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.navbar .nav-links a:hover {
    opacity: 0.7;
}

/* User Profile in Navbar */
.navbar .user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: #f5f5f5;
    cursor: pointer;
}

.navbar .user-profile:hover {
    background: #eeeeee;
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding-top: 80px;
    transition: transform 0.3s ease;
    transform: translateX(100%);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    display: block;
    padding: 12px 30px;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.03);
    margin: 5px 20px;
    border-radius: 8px;
}

.mobile-menu a:hover {
    background: rgba(0, 0, 0, 0.07);
}

.mobile-menu.active a, 
.mobile-menu.active .user-menu {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu .user-profile {
    margin: 10px auto;
    width: 200px;
    justify-content: center;
    background: transparent;
    cursor: default;
}

.mobile-menu .user-profile:hover {
    background: transparent;
}

.mobile-menu .user-menu {
    margin-top: 1rem;
}

.mobile-menu .login-btn {
    width: calc(100% - 40px);
    margin: 5px 20px;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-red));
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    .mobile-menu {
        display: block;
    }

    .navbar {
        justify-content: space-between;
        padding: 1rem 5%;
    }

    .navbar > *:not(.logo):not(.hamburger) {
        display: none;
    }

    .mobile-menu {
        display: block;
        transform: translateX(100%);
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu .user-menu {
        margin-top: 2rem;
    }
}

/* Rest of your existing PoliAI styles... */
 