   html, body {
      height: 100%;
      margin: 0;
    }

    body {
      background-color: #f0f2f5;
      display: flex;
      flex-direction: column;
      font-family: 'Segoe UI', sans-serif;
    }

    .navbar-brand {
      font-weight: bold;
      font-size: 1.4rem;
    }

    .chat-wrapper {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      overflow: hidden;
      transition: all 0.5s ease;
    }

    .chat-wrapper.shifted {
      justify-content: flex-start;
    }

    .chat-box {
      width: 100%;
      /*max-width: 800px;*/
	  max-height: 100%;
      display: flex;
      flex-direction: column;
      flex: 1;
      padding: 1.5rem;
      transition: all 0.5s ease;
    }

    .chat-container {
      flex: 1;
      overflow-y: auto;
      padding: 1.5rem;
      /*background-color: #ffffff;
      border-radius: 0.75rem;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
      margin-bottom: 1rem;*/
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.5s ease;
      height: 0;
	  width: 100%;
      display: none;
    }

    #chat-log {
        max-width: 800px;
        margin: 0 auto;
    }

    .chat-container.visible {
      opacity: 1;
      transform: translateY(0);
      height: auto;
      display: block;
    }

    .chat-message {
      margin-bottom: 1rem;
      display: flex;
    }

    .chat-message.user {
      justify-content: flex-end;
    }

    .chat-message.assistant {
      justify-content: flex-start;
    }

    .chat-message.typing .chat-bubble {
      font-style: italic;
      opacity: 0.6;
    }

    .chat-bubble {
      /*padding: 0.65rem 1rem;*/
      border-radius: 1.2rem;
      position: relative;
      word-wrap: break-word;
      /*background-color: #f1f3f5;*/
      color: #333;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    }

    .chat-message.user .chat-bubble {
      background-color: #e6f0ff;
      color: #0d47a1;
	  max-width: 75%;
	  padding: 0.65rem 1rem;
    }

    .chat-input-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      transition: all 0.5s ease;
    }

    .chat-input-wrapper.centered {
      flex-grow: 1;
      justify-content: center;
    }

    .intro-text {
      font-size: 1.25rem;
      color: #555;
      transition: opacity 0.4s ease;
    }

    .intro-text.hidden {
      opacity: 0;
      height: 0;
      overflow: hidden;
    }

    .chat-input-area {
      position: relative;
      display: flex;
      align-items: center;
      background-color: #ffffff;
      border: 1px solid #ced4da;
      border-radius: 2rem;
      padding: 0.5rem 1rem;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
      gap: 0.5rem;
      max-width: 800px;
      width: 100%;
    }

    #user-input {
      border: none;
      outline: none;
      flex: 1;
      padding: 0.5rem 1rem;
      font-size: 1rem;
      background-color: transparent;
    }

    .submit-button,
    .file-button {
      border: none;
      background: none;
      color: #007bff;
      font-size: 1.25rem;
      cursor: pointer;
      transition: color 0.2s ease;
    }

    .submit-button:hover,
    .file-button:hover {
      color: #0056b3;
    }

    .suggestions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .suggestions.hidden {
      opacity: 0;
      transform: translateY(20px);
      pointer-events: none;
    }

    .suggestions button {
      border-radius: 2rem;
      border: none;
      background-color: #e9ecef;
      color: #333;
      padding: 0.4rem 1rem;
      font-size: 0.95rem;
      transition: background-color 0.2s;
    }

    .suggestions button:hover {
      background-color: #d6d8db;
    }

    footer {
      text-align: center;
      font-size: 0.85rem;
      color: #666;
      padding: 1rem;
    }

    .auth-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      margin-top: 1rem;
    }

    .input-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
        z-index: 10;
        display: none;
    }

	.verification-form table .input-cell {
		padding: 0 !important;
	}
	.verification-form table input[type="text"]{
		width: 100%;
		border: none;
		margin: 0;
		padding: .5rem .5rem;
	}
	.verification-form table input[type="text"], 
	.verification-form table td {
		font-size: 1rem;
	}
  .verification-form .delete-add-buttons {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    -ms-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
  }
  .verification-form tr:hover .delete-add-buttons {
    visibility: visible;
    opacity: 1;
  }
  .verification-form .decimal-zeros {
	color: #ddd;
  }


    @media (max-width: 768px) {
      .chat-box {
        padding: 1rem;
      }

      .chat-input-area {
        flex-direction: row;
        padding: 0.5rem;
      }

      #user-input {
        font-size: 0.95rem;
      }

      .chat-bubble {
        font-size: 0.95rem;
      }
    }

	@media (max-width: 600px) {
		.hide-mobile {
			display: none !important;
		}
	}

	body.dark-theme {
	background-color: #121212;
	color: #f1f1f1;
	}

	body.dark-theme .navbar {
	background-color: #1e1e1e !important;
	color: #f1f1f1;
	}

	body.dark-theme .modal-content {
	background-color: #1e1e1e;
	color: #f1f1f1;
	}

	body.dark-theme .form-control {
	background-color: #2c2c2c;
	color: #f1f1f1;
	border-color: #444;
	}

	body.dark-theme .btn-outline-secondary {
	border-color: #888;
	color: #ccc;
	}
