/*************************************************
 * App Name
 *************************************************/

.app-name {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #0b2d4f;
  letter-spacing: 0.5px;
  cursor: pointer;
  user-select: none;
}

.app-name-s {
  color: rgb(186, 65, 55);
  font-weight: 800;
}


/*************************************************
 * Header Right (Image Library + Auth + Layout)
 *************************************************/

.header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

/*************************************************
 * Header Link (Image Library, etc.)
 *************************************************/

.header-link {
  padding: 8px 16px;

  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  border-radius: 6px;
  border: 1px solid #b8bec7;

  background: linear-gradient(
    to bottom,
    #f0f2f4,
    #e3e6ea
  );

  color: #0b2d4f;
  cursor: pointer;

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);

  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.header-link:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

/*************************************************
 * Header Divider (Vertical)
 *************************************************/

.header-divider {
  width: 1px;
  height: 48px;
  background: #b8bec7;
  margin: 0 8px;
}

/*************************************************
 * Header Controls Group (Auth + Layout)
 *************************************************/

.header-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* Auth links row */

#auth-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

#auth-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
}


/*************************************************
 * Layout Toggle (Portrait / Landscape)
 *************************************************/

.layout-toggle {
  display: flex;
  gap: 6px;
}

.layout-btn {
  padding: 4px 10px;

  font-size: 13px;
  font-weight: 600;

  border-radius: 6px;
  border: 1px solid #b8bec7;

  background: linear-gradient(
    to bottom,
    #f0f2f4,
    #e3e6ea
  );

  color: #0b2d4f;
  cursor: pointer;

  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2);

  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.layout-btn:hover {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.25);
}

.layout-btn.active {
  background: linear-gradient(
    to bottom,
    #e0e4ea,
    #d2d7df
  );

  font-weight: 700;

  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.25),
    inset 0 -1px 0 rgba(255, 255, 255, 0.4);
}
