:root {
  --brand:       #004172;
  --brand-dark:  #003360;
  --text:        #1A2E3D;
  --text-weak:   #49657A;
  --border:      #E4EBF0;
  --fill:        #F5F8FA;
  --surface:     #FFFFFF;
  --warning:     #D97706;
  --font: system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--fill);
  min-height: 100vh;
}

/* ── Login ── */

.page-login {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0,65,114,.08);
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo img {
  height: 56px;
  width: auto;
}

.login-error {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: .9rem;
  margin-bottom: 20px;
}

.login-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.login-form label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-weak);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.login-form input {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 1rem;
  outline: none;
  transition: border-color .15s;
}

.login-form input:focus {
  border-color: var(--brand);
}

.login-form button {
  width: 100%;
  margin-top: 8px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}

.login-form button:hover {
  background: var(--brand-dark);
}

/* ── Home ── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-logo {
  height: 32px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-name {
  font-size: .9rem;
  color: var(--text-weak);
}

.btn-logout {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: .85rem;
  color: var(--text-weak);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}

.btn-logout:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.main-content {
  max-width: 860px;
  margin: 48px auto;
  padding: 0 24px;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 28px;
}

.presentations-group + .presentations-group {
  margin-top: 40px;
}

.group-title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-weak);
  margin-bottom: 12px;
}

.presentations-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.presentation-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s, border-left-color .15s;
}

.presentation-link:hover {
  box-shadow: 0 4px 16px rgba(0,65,114,.10);
  border-left-color: var(--warning);
}

.presentation-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.presentation-client {
  font-size: .85rem;
  color: var(--text-weak);
  white-space: nowrap;
}

.presentation-description {
  font-size: .9rem;
  color: var(--text-weak);
  margin-left: auto;
}
