/* ============================================================
   shared.css — Common styles for all Azure Days / Cloud Connect pages
   Imported by every page via <link rel="stylesheet" href="/assets/shared.css">
   ============================================================ */

:root {
   /* Azure color */
  /*--azure: #007FFF;*/
   /* AWS color */
  --azure: #FF9900;
  --rbi:   #FFF500;
  --fg:    #111;
  --muted: #666;
  --line:  #e8e8e8;
  --bg:    #fff;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

/* ---- Layout ---- */
.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

header, section, footer {
  margin-bottom: 28px;
}

/* ---- Brand bar ---- */
.brandbar {
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--azure) 0%,
    var(--azure) 72%,
    var(--rbi) 72%,
    var(--rbi) 100%
  );
}

/* ---- Page header ---- */
.header {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.title-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

h1 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.subtitle {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}

.title-accent {
  width: 120px;
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--azure), var(--rbi));
}

/* ---- Logo strip (index page / header) ---- */
.logo-strip {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-left: auto;
}

.logo-strip img {
  display: block;
  height: 45px;
  width: auto;
}

.logo-strip img.logo-uniqa {
  max-height: 45px;
}

/* ---- Navigation ---- */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--azure);
  background: var(--azure);
  color: #fff;
  cursor: pointer;
  font-size: inherit;
  transition:
    transform .06s ease,
    box-shadow .12s ease,
    background-color .12s ease,
    color .12s ease,
    border-color .12s ease;
}

.btn:hover {
  background: var(--rbi);
  border-color: var(--rbi);
  color: var(--fg);
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px rgba(0, 127, 255, .18),
    0 0 0 4px color-mix(in srgb, var(--azure) 28%, transparent);
}

.btn:active  { transform: translateY(0); }

.btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--azure) 50%, transparent);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: var(--azure);
  color: #fff;
  border-color: var(--azure);
}

/* ---- Cards ---- */
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--azure), var(--rbi));
}

/* ---- Typography helpers ---- */
.lead  { font-size: 1.05rem; margin: 0 0 12px 0; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ---- Footer ---- */
.site-footer {
  margin-top: 40px;
  padding-bottom: 20px;
}

/* ---- Responsive ---- */
@media (max-width: 520px) {
  .btn   { padding: 9px 14px; border-radius: 9px; }
  .card  { padding: 14px; }
  .logo-strip {
    justify-content: flex-start;
    width: 100%;
  }
}
