/* ========================================================================
   PAULFIRE WORKSITE MANAGEMENT — MASTER STYLESHEET
   Design: Industrial-Utilitarian. Clean, bold, high-contrast.
   Font: OpenSans (local TTF). Accent: PaulFire Orange #ff4500.
   ======================================================================== */


/* ========================================================================
   SECTION 1 — FONTS & VARIABLES
   ======================================================================== */

@font-face {
  font-family: 'OpenSans';
  src: url('/assets/fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenSans';
  src: url('/assets/fonts/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --orange:        #ff4500;
  --orange-dark:   #cc3700;
  --orange-light:  #fff1ec;
  --orange-mid:    #ff6a00;

  /* Neutrals */
  --ink:           #111827;
  --ink-soft:      #374151;
  --muted:         #6b7280;
  --border:        #e5e7eb;
  --border-strong: #d1d5db;
  --surface:       #f9fafb;
  --white:         #ffffff;

  /* Dark chrome */
  --chrome:        #1a1f2e;
  --chrome-mid:    #252b3b;
  --chrome-edge:   #2f3649;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl:  0 20px 50px rgba(0,0,0,0.15);

  /* Layout */
  --header-h:   60px;
  --nav-h:      50px;
  --radius:     10px;
  --radius-sm:  6px;
  --radius-lg:  14px;
}


/* ========================================================================
   SECTION 2 — RESET & BASE
   ======================================================================== */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'OpenSans', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  font-size: 0.9375rem;   /* 15px */
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

button { cursor: pointer; }


/* ========================================================================
   SECTION 3 — HEADER
   ======================================================================== */

.header {
  height: var(--header-h);
  background: var(--chrome);
  border-bottom: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 16px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 500;
}

.header .title {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.01em;
}

.header .title b {
  color: var(--orange);
}

.header p {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-top: 1px;
}

.header .logo img {
  height: 36px;
  width: 36px;
  border-radius: 6px;
  opacity: 0.9;
}


/* ========================================================================
   SECTION 4 — GLOBAL NAV
   ======================================================================== */

/* (Styles live inline in global-nav.php for portability — kept there) */


/* ========================================================================
   SECTION 5 — NOTIFICATION BANNERS
   ======================================================================== */

.notification-banner {
  width: 100%;
  padding: 13px 24px;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  border-radius: 0;
  animation: slideDown 0.3s ease;
}

.notification-banner.success {
  background: #ecfdf5;
  color: #065f46;
  border-bottom: 2px solid #10b981;
}

.notification-banner.error {
  background: #fef2f2;
  color: #991b1b;
  border-bottom: 2px solid #ef4444;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ========================================================================
   SECTION 6 — DASHBOARD LAYOUT
   ======================================================================== */

.main-content {
  width: 100%;
  flex: 1;
}

/* — Info Strip (top white section) — */
.dashboard-info-strip {
  background: var(--white);
  padding: 36px 48px 32px;
  border-bottom: 1px solid var(--border);
}

.dashboard-info-strip h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.dashboard-info-strip .subtitle {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 3px;
}

.dashboard-info-strip .subtitle-2 {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.dashboard-search {
  width: 100%;
  max-width: 480px;
  padding: 11px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.dashboard-search:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,69,0,0.12);
}

.dashboard-search::placeholder {
  color: #9ca3af;
}


/* — Worksite List (orange section) — */
.worksite-list {
  background: var(--chrome);
  padding: 36px 48px;
  flex: 1;
  min-height: calc(100vh - 280px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.worksite-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--chrome-mid);
  border: 1px solid var(--chrome-edge);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.worksite-item:hover {
  border-color: var(--orange);
  background: var(--chrome-edge);
  transform: translateX(3px);
}

.worksite-item .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,69,0,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.worksite-item .icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.worksite-item .text {
  flex: 1;
  min-width: 0;
}

.project-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-date {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.project-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-actions .btn.small,
.project-actions a.btn.small {
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  display: inline-block;
}

.project-actions .btn.small:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}


/* ========================================================================
   SECTION 7 — BUTTONS (GLOBAL)
   ======================================================================== */

/* Primary */
.btn,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover,
.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 4px 12px rgba(255,69,0,0.30);
}

.btn:active,
.btn-primary:active {
  transform: translateY(1px);
}

/* Secondary / Ghost */
.btn-secondary {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}

.btn-secondary:hover {
  background: var(--orange);
  color: var(--white);
}

/* Danger */
.btn-danger {
  background: #dc2626;
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-block;
}

.btn-danger:hover {
  background: #b91c1c;
  color: var(--white);
}

/* Dark */
.btn-dark {
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-block;
}

.btn-dark:hover { background: #000; color: var(--white); }


/* ========================================================================
   SECTION 8 — LOGIN PAGE
   ======================================================================== */

.login-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  background: var(--surface);
}

.login-box {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.login-box h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 28px;
  text-align: center;
}

.login-box .form-row {
  margin-bottom: 18px;
}

.login-box label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.login-box input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,69,0,0.12);
}

.login-box .btn {
  width: 100%;
  padding: 13px;
  font-size: 0.9375rem;
  margin-top: 8px;
  border-radius: var(--radius-sm);
}

.login-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
}


/* ========================================================================
   SECTION 9 — CREATE WORKSITE / CREATE USER PAGE
   ======================================================================== */

.create-container {
  max-width: 580px;
  margin: 48px auto;
  padding: 0 24px;
}

.create-container .page-title {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.create-container .page-subtitle {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.create-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.create-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 16px;
  margin-bottom: 6px;
}

.create-form label:first-child { margin-top: 0; }

.create-form input[type="text"],
.create-form input[type="file"],
.create-form input[type="password"],
.create-form select,
.create-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

.create-form input:focus,
.create-form select:focus,
.create-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,69,0,0.12);
}

.create-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.btn-create {
  margin-top: 24px;
  width: 100%;
  padding: 13px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.btn-create:hover {
  background: var(--orange-dark);
  box-shadow: 0 4px 14px rgba(255,69,0,0.30);
}

.error-box {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 18px;
}


/* ========================================================================
   SECTION 10 — MANAGE WORKSITE PAGE
   ======================================================================== */

.manage-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 24px;
  padding: 28px;
  background: var(--surface);
  min-height: calc(100vh - var(--header-h) - var(--nav-h));
  align-items: start;
}

.manage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.manage-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-block label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-block input[type="text"] {
  padding: 10px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-block input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,69,0,0.12);
}

.flash-message {
  padding: 10px 14px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* — Audit Log Table — */
.logs-card {
  display: flex;
  flex-direction: column;
}

.logs-table-wrapper {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.logs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.logs-table thead {
  background: var(--chrome);
}

.logs-table thead th {
  padding: 11px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.logs-table td {
  padding: 10px 14px;
  color: var(--ink-soft);
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.logs-table tbody tr:last-child td {
  border-bottom: none;
}

.logs-table tbody tr:nth-child(odd) {
  background: #fafafa;
}

.logs-table tbody tr:hover {
  background: var(--orange-light);
}

.empty-state {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 16px 0;
  font-style: italic;
}


/* ========================================================================
   SECTION 11 — PIN EDITOR (EDIT PAGE)
   ======================================================================== */

.manage-layout {
  display: flex;
  flex-direction: column;
  background: #0f1117;
  min-height: calc(100vh - var(--header-h) - var(--nav-h));
}

/* Slide-out panel */
.pin-editor-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 340px;
  max-width: 92%;
  background: var(--white);
  box-shadow: -6px 0 32px rgba(0,0,0,0.20);
  padding: 24px 22px;
  overflow-y: auto;
  z-index: 300;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  transform: translateX(100%);
}

.pin-editor-panel.open {
  transform: translateX(0);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.panel-header h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

.panel-close {
  width: 30px;
  height: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.panel-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.coords-label {
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--surface);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-family: 'Courier New', monospace;
  border: 1px solid var(--border);
}

.panel-top-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.btn-move-pin {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--orange);
  background: transparent;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-move-pin:hover,
.btn-move-pin.active {
  background: var(--orange);
  color: var(--white);
}

.btn-delete-pin {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid #dc2626;
  background: transparent;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-delete-pin:hover {
  background: #dc2626;
  color: var(--white);
}

.btn-save-pin {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.btn-save-pin:hover {
  background: var(--orange-dark);
  box-shadow: 0 4px 14px rgba(255,69,0,0.30);
}

/* Form Groups */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,69,0,0.12);
}

/* Image Tabs */
.image-tabs {
  display: flex;
  gap: 4px;
  margin: 18px 0 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.tab-button {
  flex: 1;
  padding: 7px 6px;
  border-radius: 5px;
  border: none;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}

.tab-button.active {
  background: var(--white);
  color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.tab-button:hover:not(.active) {
  color: var(--ink);
  background: rgba(255,255,255,0.6);
}

.image-tab-pane { display: none; }
.image-tab-pane.active { display: block; }

/* Image gallery in panel */
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.image-chip {
  width: calc(50% - 4px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  overflow: hidden;
}

.image-chip img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.delete-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  color: #dc2626;
  font-weight: 700;
  margin-top: 4px;
  cursor: pointer;
}

.file-upload {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, color 0.15s;
  margin-top: 6px;
}

.file-upload:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}


/* ========================================================================
   SECTION 12 — FOOTER
   ======================================================================== */

footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--muted);
  flex-shrink: 0;
}

footer a {
  color: var(--orange);
  font-weight: 700;
}

footer a:hover {
  color: var(--orange-dark);
}


/* ========================================================================
   SECTION 13 — RESPONSIVE
   ======================================================================== */

@media (max-width: 900px) {
  .manage-page {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

@media (max-width: 768px) {
  .dashboard-info-strip {
    padding: 24px 20px 22px;
  }

  .dashboard-info-strip h2 {
    font-size: 1.375rem;
  }

  .worksite-list {
    padding: 24px 20px;
  }

  .pin-editor-panel {
    width: 100%;
    max-width: 100%;
    top: auto;
    bottom: 0;
    height: 70%;
    transform: translateY(100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .pin-editor-panel.open {
    transform: translateY(0);
  }

  footer {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .header { padding: 0 16px; }
  .header .logo img { height: 28px; width: 28px; }
  .login-box { padding: 28px 20px; }
}


/* ========================================================================
   END OF MASTER STYLESHEET
   ======================================================================== */