/* --------------------------------------------------
   FULLSCREEN BACKGROUND
-------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: 'Merriweather', serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;

  background: url('../images/landing1.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* --------------------------------------------------
   WRAPPER (NO IMAGE CONTROL)
-------------------------------------------------- */
.dot-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.dot-image {
  display: none;
}

/* --------------------------------------------------
   LOGIN FORM + PANEL
-------------------------------------------------- */
.login-form {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 460px; /* slightly wider */
  margin: 0 auto;
  padding: 0;
}

.login-panel {
  background: #c3b192 !important; /* khaki */
  border-radius: 14px;
  padding: 45px 36px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

/* All text inside panel = DocuShare blue */
.login-panel,
.login-panel * {
  color: #1f2a44 !important; /* blue */
}

/* --------------------------------------------------
   TITLE
-------------------------------------------------- */
.login-title {
  font-size: 28px;
  color: #1f2a44 !important; /* blue */
  margin-bottom: 25px;
  text-shadow: none !important;
}

/* --------------------------------------------------
   INPUTS
-------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="password"] {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 12px auto;
  padding: 10px 12px;
  border: 1px solid #666;
  border-radius: 6px;
  font-size: 1rem;
  color: #1f2a44 !important; /* blue text */
  background: #fff;
}

/* --------------------------------------------------
   LOGIN BUTTON
-------------------------------------------------- */
.login-button {
  display: block;
  width: 80%;
  max-width: 180px;
  margin: 35px auto 12px auto;
  padding: 12px 0;
  border-radius: 6px;
  font-size: 1rem;
  background: #1f2a44 !important; /* blue */
  color: #c3b192 !important;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.login-button:hover {
  background: #162033 !important; /* darker blue */
}

/* --------------------------------------------------
   HELP TEXT + LINKS
-------------------------------------------------- */
.help-block {
  font-size: 1rem;
  margin-top: 10px;
}

.help-block a {
  color: #1f2a44 !important; /* blue */
  text-decoration: underline;
}

/* --------------------------------------------------
   ERROR BOX
-------------------------------------------------- */
.alert-danger {
  color: #fff !important;
  background-color: #d9534f;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}



/* --------------------------------------------------
   DROPDOWN (UNCHANGED)
-------------------------------------------------- */
.file_dropdown {
  position: relative;
  display: inline-block;
}

.file_dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  padding: 12px 16px;
  z-index: 1;
}

.file_dropdown:hover .file_dropdown-content {
  display: block;
}

/* --------------------------------------------------
   MOBILE FALLBACK (DOT MODE)
-------------------------------------------------- */
@media (max-width: 600px) {

  .dot-image {
    display: none;
  }

  .dot-wrapper {
    aspect-ratio: 1 / 1;
    width: 80vw;
    max-width: 360px;
    margin: auto;
    background: radial-gradient(circle at center, #25b44a 0%, #25b44a 65%, #1e8f3a 100%);
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    position: relative;
  }

  .login-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
  }

  .login-title {
    font-size: clamp(30px, 5vw, 42px);
    color: #fff !important;
    margin-bottom: 0.6em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  }

  input[type="text"],
  input[type="email"],
  input[type="password"] {
    width: 100%;
    max-width: none;
    margin: 0.35em auto;
    padding: 0.55em 0.75em;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 6px;
    font-size: clamp(14px, 3.8vw, 18px);
    background: rgba(255,255,255,0.92);

    /* NEW: force typed text to DocuShare blue */
    color: #1f2a44 !important;
  }


  .login-button {
    width: 80%;
    margin: 1em auto 0.6em auto;
    padding: 0.65em 0;
    border-radius: 6px;
    font-size: clamp(14px, 3.8vw, 18px);
    background: #1e8f3a;
    color: #fff !important;
  }

  .help-block,
  .alert-danger {
    font-size: clamp(12px, 3.5vw, 16px);
    color: #fff !important;
  }

  .alert-danger {
    background-color: rgba(217,83,79,0.95);
    padding: 0.6em;
    border-radius: 6px;
    margin-bottom: 0.7em;
  }

  .help-block a {
    color: #fff !important;
  }
}

