/* Global Page Styling */
body {
  background-color: #008080;
  font-family: "MS Sans Serif", Tahoma, Geneva, sans-serif;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Aligns content starting from the top */
  align-items: center;
  min-height: 100vh;
  padding-top: 40px;           /* Distance from the top of the webpage */
  margin: 0;
  box-sizing: border-box;
}

/* Window Frame */
.window {
  background-color: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  box-shadow: 1px 1px 0px #000000;
  padding: 3px;
  min-width: 280px;
}

/* Title Bar */
.title-bar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: white;
  font-weight: bold;
  padding: 4px 6px;
  margin-bottom: 12px;
}

.title-bar-text {
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* Form Area */
form {
  padding: 8px 12px 12px 12px;
}

.field-group {
  margin-bottom: 8px;
  padding: 0 12px;
}

label {
  display: block;
  margin-bottom: 4px;
  color: #000;
}

/* Inputs */
input[type="text"],
input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  padding: 3px 4px;
  background-color: white;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  outline: none;
  font-family: inherit;
  font-size: 11px;
}

/* Message Layout */
.message {
  display: flex;
  align-items: center;
  padding: 0 12px 8px 0;
}

.message p {
  margin: 0;
}

/* Icons */
.icon {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Buttons */
button {
  background-color: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  outline: 1px solid #000000;
  padding: 1px 24px;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
  margin-top: 6px;
  margin-bottom: 8px;
}

button:active {
  border-color: #808080 #ffffff #ffffff #808080;
}

.window button {
  display: block;
  margin: 12px auto 15px auto;
}

.top-page-logo {
  max-width: 280px;
  height: auto;
  margin-bottom: 16px;          /* Distance between logo and window */
}
