/* src/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    background-color: #f4f7fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-navbar {
    background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    color: white;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    max-width: 450px;
    width: 100%;
    margin: 40px auto;
}

.fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    color: #0c2b64;
}

.form-control {
    border-left: none;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.input-group:focus-within {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-radius: 6px;
}

.cursor-pointer {
    cursor: pointer;
}

/* --- Floating Chat Widget CSS --- */
.chat-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    transition: transform 0.3s;
}
.chat-toggle-btn:hover {
    transform: scale(1.1);
}
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    z-index: 1001;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease-in-out;
}
.chat-body {
    scrollbar-width: thin;
    scrollbar-color: #0c2b64 #f4f7fa;
}
.msg-bubble {
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 14px;
    word-wrap: break-word;
}
.msg-sent {
    background-color: #0c2b64;
    color: white;
    border-bottom-right-radius: 0;
}
.msg-received {
    background-color: #e9ecef;
    color: #333;
    border-bottom-left-radius: 0;
}