﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
  }
  
  body {
    background: #f1f3f5;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .chat-box {
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: #fff;
    display: flex;
    flex-direction: column;
  }
  
  .chat-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    position: relative;
    padding: 0 15px;
  }
  
  .chat-header {
    background: #0b806e;
    color: #fff;
    padding: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
  }
  
  .chat-body {
    background: #fff;
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    max-height: calc(100vh - 180px);
    min-height: 200px;
  }
  
  .message-in, .message-out {
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    max-width: 80%;
  }
  
  .message-in {
    background: #e9ecef;
    align-self: flex-start;
  }
  
  .message-out {
    background: #d1f7d6;
    align-self: flex-end;
    margin-left: auto;
  }
  
  .chat-input {
    background: #f8f9fa;
    padding: 10px;
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 2;
    border-top: 1px solid #dee2e6;
  }
  
  .chat-input input {
    flex-grow: 1;
    border-radius: 8px;
  }
  
  .chat-input button {
    background: #0b806e;
    color: #fff;
    border: none;
    padding: 0 15px;
    border-radius: 8px;
  }
  
  /* Form styling */
  .form-label {
    font-weight: 500;
    margin-bottom: 4px;
    color: #495057;
  }
  
  .form-control {
    border: 1px solid #ced4da;
    padding: 8px 12px;
    border-radius: 6px;
    transition: border-color 0.15s ease-in-out;
  }
  
  .form-control:focus {
    border-color: #0b806e;
    box-shadow: 0 0 0 0.2rem rgba(11, 128, 110, 0.25);
  }
  
  .btn-success {
    background-color: #0b806e;
    border-color: #0b806e;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
  }
  
  .btn-success:hover {
    background-color: #096b5b;
    border-color: #096b5b;
  }
  
  .border-top {
    border-top: 1px solid #dee2e6;
  }
  
  .p-3 {
    padding: 1rem;
  }
  
  .mb-2 {
    margin-bottom: 0.5rem;
  }
  
  .mb-3 {
    margin-bottom: 1rem;
  }
  
  .w-100 {
    width: 100%;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
  }
  
  .col-12, .col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  
  @media (min-width: 768px) {
    .col-md-6 {
      flex: 0 0 50%;
      max-width: 50%;
    }
  }
  
  /* Student Card Styling */
  .student-card {
    background: linear-gradient(135deg, #0b806e, #0d9982);
    color: white;
    border-radius: 12px;
    padding: 10px;
    margin: 5px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-height: 80px;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .student-card:hover {
    max-height: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .student-info {
    display: flex;
    align-items: center;
  }
  
  .student-avatar {
    font-size: 1.8rem;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  
  .student-details h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
  }
  
  .student-details p {
    margin: 2px 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
  }
  
  /* Common Questions Styling */
  .common-questions {
    padding: 8px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 5px 0;
    max-height: 180px;
    overflow-y: auto;
    position: sticky;
    bottom: 0;
    z-index: 10;
  }
  
  .common-questions h4 {
    color: #0b806e;
    margin-bottom: 8px;
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
  }
  
  .question-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  
  .question-btn {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 6px 10px;
    text-align: left;
    transition: all 0.2s ease;
    color: #495057;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.85rem;
    flex: 1 1 calc(50% - 5px);
    min-width: 120px;
  }
  
  .question-btn:hover {
    background: #e9ecef;
    border-color: #ced4da;
    transform: translateX(3px);
  }
  