/* styles.css */

/* Landing page styles */
.landing-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.landing-container h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.landing-container button {
  font-size: 24px;
  padding: 15px 30px;
  background-color: #555;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* General styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #333;
  color: #fff;
}

/* Header styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #222;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-left h1 {
  margin-right: 20px;
}

.url-container {
  display: flex;
  align-items: center;
}

.url-container input {
  padding: 5px;
  margin-right: 10px;
}

.favorites-dropdown {
  position: relative;
  margin-left: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #444;
  min-width: 120px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content button {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: left;
  border: none;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
}

.dropdown-content button:hover {
  background-color: #555;
}

.favorites-dropdown:hover .dropdown-content {
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
}

.user-counter {
  margin-right: 20px;
}

.profile-menu {
  position: relative;
  margin-right: 20px;
}

.close-session-btn {
  padding: 5px 10px;
  background-color: #ff0000;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

/* Main content styles */
main {
  padding: 20px;
}

.iframe-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Chat styles */
.chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background-color: #444;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: height 0.3s ease;
  overflow: hidden;
}

.chat-messages {
  height: 200px;
  overflow-y: auto;
  padding: 10px;
}

.chat-input {
  display: flex;
  padding: 10px;
}

.chat-input input {
  flex-grow: 1;
  padding: 5px;
  margin-right: 10px;
  border: none;
  border-radius: 3px;
}

.chat-input button {
  padding: 5px 10px;
  border: none;
  background-color: #555;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
}

.collapse-chat-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Session files styles */
.session-files {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
}

.session-files h2 {
  color: #fff;
}

.file-list {
  margin-bottom: 20px;
}

.file-list a {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}

.session-files button {
  padding: 10px 20px;
  background-color: #555;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-left {
    margin-bottom: 10px;
  }

  .header-right {
    margin-top: 10px;
  }

  .chat-container {
    width: 100%;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }
}
