body, html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  height: 100%;
  overflow: hidden;
}

#bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.file-list {
  list-style: none;
  padding: 0;
}

.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f0f0;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  gap: 10px;
}

.file-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.file-list li span {
  flex: 1;
  margin-left: 10px;
}

.file-list button {
  padding: 6px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

.file-list button:hover {
  background-color: #0056d8;
  transform: translateY(-1px);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.modal input {
  display: block;
  width: 90%;
  margin: 10px auto;
  padding: 10px;
  font-size: 14px;
}

.modal button {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal button:hover {
  background-color: #0056d8;
  transform: translateY(-1px);
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.social-buttons {
  margin-top: 20px;
}

.btn.social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 12px 16px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn.social:hover {
  background-color: #eaeaea;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn.social img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

.loading {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid orange;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#error-msg {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

.top-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.top-logo img {
  width: 40px;
}

.top-left-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 100;
}

.top-left-logo img {
  height: 40px;
}

.popup-logo {
  max-width: 150px;
  margin: 0 auto 20px auto;
  display: block;
}