@charset "utf-8";
/* CSS Document */
:root {
  --blue: #0077b6;
  --blue2: #00b4d8;
  --blue3: #03045e;

  --green: #2ecc71;
  --yellow: #f1c40f;
  --purple: #9b59b6;
  --red: #e74c3c;
  --orange: #ff8c42;
  --pink: #ff5da2;

  --bg: #eef3f8;
  --card-bg: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);

  --rounded: 18px;
}

/* ------------ GLOBAL -------------------- */
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

/* ---------------- HEADER ---------------- */
.header {
  background: linear-gradient(90deg, var(--blue3), var(--blue));
  height: 70px;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 25px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  /* make header stay at top */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.btn-back {
  color: white;
  padding: 8px 15px;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  z-index: 2; /* keep on top */
}
.btn-back:hover { background: rgba(255,255,255,0.45); }

.roleHeader {
  position: absolute;     /* center element absolute */
  left: 50%;        /* move center horizontally */
  transform: translateX(-50%); /* perfect center */
  text-align: center;
  width: max-content;
}

.detail-container {
  max-width: 800px;
  margin: 80px auto;
  padding: 10px;
  font-family: Roboto-Bold;
}
.detail-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px #00000015;
  font-family: Roboto-Regular;
}
.detail-card h1 {
  margin-top: 20px;
  font-family: Roboto-Regular;
  text-align: center;
  color: #023e8a;
}
.detail-card img {
  margin: auto;
  display: block;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}
small {
  margin: auto;
  display: block;
  text-align: center;
  color: #777;
  font-size: 14px;
  font-family: Roboto-Medium;
}
.description {
  font-family: Raleway-Medium;
  font-size: 20px;
  text-align: justify;
  line-height: 1.6;
}
.attachment-box {
  margin-top: 30px;
  background: #f4f4f4;
  padding: 10px;
  border-radius: 8px;
}

.share-box {
  margin: auto;
  font-family: Roboto-Regular;
  margin-top: 10px;
  display: flex;
  gap: 10px;
  font-size: 20px;
}
.download {
  padding: 10px 15px;
  border-radius: 8px;
  background: #3ab600;
  color: white;
  text-decoration: none;
  font-family: Raleway-Medium;
  font-size: 15px;
  text-align: center;
  margin: auto;
}
.download:hover {
  background: #2e8a04; 
}
.share-btn {
  width: 40px;
  height: 40px;
  margin-left: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.share-btn.copy {
  background: none;
}

.share-btn:hover {
  opacity: 0.8;
}

