/* PK Floors Dashboard – blue, light theme (pkfloors.com inspired) */

:root {
  --pk-blue: #1e5a8e;
  --pk-blue-light: #2d7ab8;
  --pk-blue-bg: #e8f4fc;
  --pk-blue-bg-soft: #f0f8ff;
  --pk-blue-border: #b8d4e8;
  --pk-blue-hover: #164670;
  --pk-text: #2c3e50;
  --pk-text-muted: #5a6c7d;
  --pk-white: #ffffff;
  --pk-success: #1a7f37;
  --pk-warning: #b45309;
  --pk-danger: #b91c1c;
  --pk-radius: 10px;
  --pk-shadow: 0 2px 8px rgba(30, 90, 142, 0.08);
  --pk-shadow-card: 0 4px 14px rgba(30, 90, 142, 0.1);
}

/* Layout */
body {
  color: var(--pk-text);
  background: var(--pk-blue-bg-soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

/* Header – blue bar, logo when logged in */
.pk-header {
  background: linear-gradient(135deg, var(--pk-blue) 0%, var(--pk-blue-light) 100%);
  padding: 12px 24px;
  margin-bottom: 0;
  border-bottom: none;
  box-shadow: var(--pk-shadow);
}

.pk-header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.pk-header-logo {
  height: 40px;
  width: auto;
  display: block;
  margin-right: 8px;
}

.pk-header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--pk-white);
  font-weight: 600;
  font-size: 1.1rem;
}

.pk-header a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.pk-header a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--pk-white);
}

.pk-header .pk-nav-right {
  margin-left: auto;
}

.pk-header .pk-nav-right a {
  font-size: 0.95rem;
}

/* Page titles */
.pk-page-title {
  color: var(--pk-blue);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.pk-page-subtitle {
  color: var(--pk-text-muted);
  font-size: 0.95rem;
  margin: 0 0 24px 0;
}

/* Cards and sections */
.pk-card {
  background: var(--pk-white);
  border-radius: var(--pk-radius);
  box-shadow: var(--pk-shadow-card);
  border: 1px solid var(--pk-blue-border);
  margin-bottom: 24px;
  overflow: hidden;
}

.pk-card-header {
  background: var(--pk-blue-bg);
  padding: 14px 20px;
  border-bottom: 1px solid var(--pk-blue-border);
  font-weight: 600;
  color: var(--pk-blue);
  font-size: 1.05rem;
}

.pk-card-body {
  padding: 20px;
}

/* Forms */
.pk-form-card {
  background: var(--pk-white);
  border-radius: var(--pk-radius);
  box-shadow: var(--pk-shadow-card);
  border: 1px solid var(--pk-blue-border);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.pk-form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.pk-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pk-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.pk-form-group input[type="date"] {
  padding: 10px 12px;
  border: 1px solid var(--pk-blue-border);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--pk-text);
  background: var(--pk-white);
  min-width: 160px;
}

.pk-form-group input[type="date"]:focus {
  outline: none;
  border-color: var(--pk-blue-light);
  box-shadow: 0 0 0 3px rgba(45, 122, 184, 0.2);
}

.pk-btn {
  padding: 10px 20px;
  background: var(--pk-blue);
  color: var(--pk-white) !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.pk-btn:hover {
  background: var(--pk-blue-hover);
}

.pk-btn:active {
  transform: scale(0.98);
}

.pk-btn-secondary {
  background: var(--pk-blue-bg);
  color: var(--pk-blue) !important;
  border: 1px solid var(--pk-blue-border);
}

.pk-btn-secondary:hover {
  background: var(--pk-blue-border);
}

/* Alerts */
.pk-alert {
  padding: 14px 18px;
  border-radius: var(--pk-radius);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.pk-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--pk-danger);
}

.pk-alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: var(--pk-warning);
}

/* Tables */
.pk-table-wrap {
  overflow-x: auto;
  border-radius: 0 0 var(--pk-radius) var(--pk-radius);
}

.pk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pk-table thead tr {
  background: var(--pk-blue-bg);
  border-bottom: 2px solid var(--pk-blue-border);
}

.pk-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--pk-blue);
  white-space: nowrap;
}

.pk-table th:last-child,
.pk-table td.text-right,
.pk-table .pk-num { text-align: right; }

.pk-table tbody tr {
  border-bottom: 1px solid #e8eef2;
  transition: background 0.15s;
}

.pk-table tbody tr:hover {
  background: var(--pk-blue-bg-soft);
}

.pk-table td {
  padding: 12px 16px;
  color: var(--pk-text);
}

.pk-table a {
  color: var(--pk-blue-light);
  font-weight: 500;
  text-decoration: none;
}

.pk-table a:hover {
  text-decoration: underline;
}

/* Status badges */
.pk-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pk-badge-done { background: #dcfce7; color: var(--pk-success); }
.pk-badge-overdue { background: #fee2e2; color: var(--pk-danger); }
.pk-badge-open { background: #f1f5f9; color: var(--pk-text-muted); }

/* Meta / summary line */
.pk-meta {
  color: var(--pk-text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.pk-meta strong { color: var(--pk-text); }

/* Back link */
.pk-back {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.pk-back a {
  color: var(--pk-blue-light);
  font-weight: 500;
  text-decoration: none;
}

.pk-back a:hover { text-decoration: underline; }

/* Section headings inside cards */
.pk-section-title {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pk-blue);
}

.pk-section-desc {
  font-size: 0.9rem;
  color: var(--pk-text-muted);
  margin-bottom: 12px;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
