|
|
|
|
|
:root { |
|
|
--primary-blue: #00205b; |
|
|
--secondary-gold: #ffd700; |
|
|
--light-blue: #e6f2ff; |
|
|
--dark-blue: #001a4d; |
|
|
} |
|
|
|
|
|
|
|
|
body { |
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; |
|
|
background-color: #f8f9fa; |
|
|
} |
|
|
|
|
|
|
|
|
.navbar.bg-primary { |
|
|
background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) !important; |
|
|
box-shadow: 0 2px 10px rgba(0, 32, 91, 0.2); |
|
|
} |
|
|
|
|
|
|
|
|
.card { |
|
|
border-radius: 10px; |
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
|
|
transition: transform 0.3s ease; |
|
|
} |
|
|
|
|
|
.card:hover { |
|
|
transform: translateY(-2px); |
|
|
} |
|
|
|
|
|
.card-header { |
|
|
border-radius: 10px 10px 0 0 !important; |
|
|
font-weight: 600; |
|
|
} |
|
|
|
|
|
|
|
|
.chat-container { |
|
|
height: 600px; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
} |
|
|
|
|
|
.chat-body { |
|
|
flex: 1; |
|
|
overflow-y: auto; |
|
|
padding: 20px; |
|
|
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); |
|
|
} |
|
|
|
|
|
|
|
|
.message { |
|
|
margin-bottom: 15px; |
|
|
max-width: 80%; |
|
|
animation: fadeIn 0.3s ease-in; |
|
|
} |
|
|
|
|
|
@keyframes fadeIn { |
|
|
from { opacity: 0; transform: translateY(10px); } |
|
|
to { opacity: 1; transform: translateY(0); } |
|
|
} |
|
|
|
|
|
.user-message { |
|
|
margin-left: auto; |
|
|
} |
|
|
|
|
|
.user-message .message-content { |
|
|
background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)); |
|
|
color: white; |
|
|
padding: 12px 16px; |
|
|
border-radius: 18px 18px 4px 18px; |
|
|
} |
|
|
|
|
|
.bot-message .message-content { |
|
|
background: white; |
|
|
padding: 12px 16px; |
|
|
border-radius: 18px 18px 18px 4px; |
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); |
|
|
border-left: 4px solid var(--secondary-gold); |
|
|
} |
|
|
|
|
|
.message-time { |
|
|
font-size: 0.75rem; |
|
|
margin-top: 4px; |
|
|
opacity: 0.7; |
|
|
} |
|
|
|
|
|
|
|
|
#userInput { |
|
|
border-radius: 25px; |
|
|
padding: 12px 20px; |
|
|
border: 2px solid #dee2e6; |
|
|
transition: border-color 0.3s ease; |
|
|
} |
|
|
|
|
|
#userInput:focus { |
|
|
border-color: var(--primary-blue); |
|
|
box-shadow: 0 0 0 0.25rem rgba(0, 32, 91, 0.25); |
|
|
} |
|
|
|
|
|
#sendButton { |
|
|
border-radius: 25px; |
|
|
padding: 12px 30px; |
|
|
margin-left: 10px; |
|
|
} |
|
|
|
|
|
|
|
|
.btn-outline-primary { |
|
|
border: 2px solid var(--primary-blue); |
|
|
color: var(--primary-blue); |
|
|
transition: all 0.3s ease; |
|
|
} |
|
|
|
|
|
.btn-outline-primary:hover { |
|
|
background: var(--primary-blue); |
|
|
color: white; |
|
|
transform: translateY(-2px); |
|
|
} |
|
|
|
|
|
|
|
|
.language-selector select { |
|
|
width: 150px; |
|
|
border: 2px solid var(--primary-blue); |
|
|
border-radius: 20px; |
|
|
background: white; |
|
|
color: var(--primary-blue); |
|
|
font-weight: 500; |
|
|
} |
|
|
|
|
|
|
|
|
.bg-warning { |
|
|
background: linear-gradient(135deg, #ffd700, #ffed4e) !important; |
|
|
color: #000 !important; |
|
|
} |
|
|
|
|
|
.bg-success { |
|
|
background: linear-gradient(135deg, #28a745, #20c997) !important; |
|
|
} |
|
|
|
|
|
.bg-dark { |
|
|
background: linear-gradient(135deg, #343a40, #212529) !important; |
|
|
} |
|
|
|
|
|
|
|
|
.progress { |
|
|
background-color: #e9ecef; |
|
|
border-radius: 10px; |
|
|
overflow: hidden; |
|
|
} |
|
|
|
|
|
.progress-bar { |
|
|
background: linear-gradient(90deg, var(--primary-blue), var(--secondary-gold)); |
|
|
transition: width 0.6s ease; |
|
|
} |
|
|
|
|
|
|
|
|
.badge { |
|
|
padding: 6px 12px; |
|
|
border-radius: 20px; |
|
|
font-weight: 500; |
|
|
} |
|
|
|
|
|
|
|
|
@media (max-width: 768px) { |
|
|
.chat-container { |
|
|
height: 500px; |
|
|
} |
|
|
|
|
|
.message { |
|
|
max-width: 90%; |
|
|
} |
|
|
|
|
|
.col-md-3, .col-md-4, .col-md-6, .col-md-9 { |
|
|
margin-bottom: 15px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.spinner-border.text-primary { |
|
|
color: var(--primary-blue) !important; |
|
|
} |
|
|
|
|
|
|
|
|
.chat-body a { |
|
|
color: var(--primary-blue); |
|
|
text-decoration: none; |
|
|
font-weight: 500; |
|
|
border-bottom: 2px solid var(--secondary-gold); |
|
|
transition: all 0.3s ease; |
|
|
} |
|
|
|
|
|
.chat-body a:hover { |
|
|
color: var(--dark-blue); |
|
|
border-bottom-color: var(--primary-blue); |
|
|
} |
|
|
|
|
|
|
|
|
.chat-body::-webkit-scrollbar { |
|
|
width: 8px; |
|
|
} |
|
|
|
|
|
.chat-body::-webkit-scrollbar-track { |
|
|
background: #f1f1f1; |
|
|
border-radius: 4px; |
|
|
} |
|
|
|
|
|
.chat-body::-webkit-scrollbar-thumb { |
|
|
background: var(--primary-blue); |
|
|
border-radius: 4px; |
|
|
} |
|
|
|
|
|
.chat-body::-webkit-scrollbar-thumb:hover { |
|
|
background: var(--dark-blue); |
|
|
} |