/* =========================
   Collins Brothers – Base
   ========================= */

:root {
  --text: #111;
  --muted: #666;
  --link: #336699;
  --border: rgba(0, 0, 0, 0.16);
  --border-strong: rgba(0, 0, 0, 0.24);
  --bg: #f6f7f9;
  --card: #ffffff;

  --radius: 14px;

  --shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
}

/* Links */
a {
  color: var(--link);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  color: #000;
  text-decoration: underline;
}

/* Ensure linked images don’t show borders in older browsers */
a img {
  border: 0;
}

/* =========================
   Login Page
   ========================= */

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  padding: 32px 16px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
}

.login-logo img {
  max-width: 240px;
  height: auto;
  display: block;
  margin: 0 auto 18px auto;
}

.login-title {
  margin: 0 0 18px 0;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.2px;
}

.login-alert {
  margin: 0 0 16px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff2f2;
  border: 1px solid #ffd3d3;
  color: #b10000;
  font-size: 14px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-label {
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  color: var(--text);
}

.login-input {
  height: 54px; /* larger fields */
  font-size: 16px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  outline: none;
  width: 100%;
  background: #fff;
}

.login-input:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 4px rgba(51, 102, 153, 0.12);
}

.login-button {
  margin-top: 10px;
  height: 54px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  background: #111;
  color: #fff;
}

.login-button:hover {
  opacity: 0.92;
}

.login-button:active {
  transform: translateY(1px);
}

/* =========================
   Legacy Classes (Keep)
   ========================= */

/* This was empty in your file; leaving as a hook */
.short {}

/* Table rows */
.tablerow_collins,
.altrow_collins,
.highlight_collins {
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  text-indent: 0;
  border: 0;
  padding: 6px 8px;
}

/* Alternating row */
.altrow_collins {
  background-color: #e9ecef;
}

/* Highlight */
.highlight_collins {
  background-color: #fff3a0;
}

/* Checkbox-ish box */
.box_collins {
  border: 1px solid #999;
  text-align: center;
  width: 12px;
  margin: 0;
  padding: 2px;
  white-space: nowrap;
}

/* Status */
.status_collins {
  font-size: 13px;
  font-family: Arial, sans-serif;
}

.status_collins a {
  color: var(--link);
}

/* Shipment show/hide */
.shipment_collins { display: none; }
.shipment_collins_show { display: block; }

/* Job list / links */
.job_collins td table {
  border: 0;
  width: 100%;
}

.job_collins a {
  font-family: Arial, sans-serif;
  border: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.1;
  text-align: left;
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: bottom;
  display: inline-block;
  padding: 6px 8px;
  border-radius: 10px;
}

.job_collins a:hover {
  background: #e9ecef;
  text-decoration: none;
}

/* Underline header */
th.underline {
  border-bottom: 1px solid #666;
}
/* =========================
   Login page: force centering
   ========================= */

body.login-page {
  margin: 0 !important;
  min-height: 100vh !important;
  background: #f6f7f9;
}

/* Center wrapper */
body.login-page .login-wrap {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px 16px !important;
}

/* Card */
body.login-page .login-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

/* Logo */
body.login-page .login-logo img {
  display: block !important;
  margin: 0 auto 18px auto !important;
  max-width: 340px;
  width: 100%;
  height: auto;
}

/* Form layout */
body.login-page .login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-top: 12px;
}

body.login-page .login-title {
  margin: 0 0 10px 0;
  font-size: 24px;
}

body.login-page .login-label {
  font-weight: 700;
  font-size: 14px;
}

body.login-page .login-input {
  height: 56px;
  font-size: 18px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.18);
  width: 100%;
}

body.login-page .login-button {
  height: 56px;
  margin-top: 10px;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  font-size: 16px;
  background: #111;
  color: #fff;
  cursor: pointer;
}
