/* ============================================
   User Login Page Styles
   ============================================ */

/* Main content */
.main {
  padding: 0px 4px 40px;
}

.logo {
  display: block;
  margin-bottom: 30px;
}

.content-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-col form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.announcement-section {
  width: 600px;
  margin-bottom: 40px;
}

/* Dark blue box */
.login-box {
  background: #283C54;
  width: 500px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  overflow: visible;
}

.cloud-title {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 16px;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%;
  max-width: 420px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 14px;
  color: #999;
  margin-bottom: 16px;
  background: #fff;
}

.login-box input:focus {
  outline: none;
  border-color: #4a6fa5;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 420px;
  position: relative;
}

.checkbox-row input[type="checkbox"] {
  width: 13px;
  height: 13px;
  cursor: pointer;
}

.checkbox-row label {
  font-size: 11px;
  color: #ccc;
  font-style: italic;
  cursor: pointer;
}

/* Terms of Service Tooltip */
.tos-tooltip {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 220px;
  background: #222;
  color: #fff;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.tos-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 20px;
  border: 8px solid transparent;
  border-top-color: #222;
}

.checkbox-row:hover .tos-tooltip {
  opacity: 1;
  visibility: visible;
}

.login-btn {
  display: block;
  width: 420px;
  padding: 10px;
  background: #4a6fa5;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  margin: 14px auto 0;
}

.login-btn:hover {
  background: #3a5a8a;
}

.error-message {
  color: #d32f2f;
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
}

/* Links below login button */
.links-row {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
}

.links-row a {
  color: #0077cc;
  text-decoration: none;
}

.links-row a:hover {
  text-decoration: underline;
}

.links-row .sep {
  color: #0077cc;
  margin: 0 4px;
}
