:root {
  --bg-color: #f4f4f4;
  --page-bg: #ffffff;
  --border-color: #cccccc;
  --accent: #ffc72c; /* Mustard Yellow */
  --primary: #da291c; /* Ketchup Red */
  --text-primary: #333333;
  --text-secondary: #666666;
  --link-color: #da291c; /* Red links */
  --font-family: Arial, Verdana, Tahoma, sans-serif;
  --header-font: "Comic Neue", "Chalkboard SE", "Comic Sans MS", "Comic Sans", cursive;
}

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

body {
  background-color: var(--bg-color);
  background-image: url('../bg_texture.png');
  background-repeat: repeat;
  background-size: 150px; /* Denser tiling */
  color: var(--text-primary);
  font-family: var(--font-family);
  min-height: 100vh;
  padding: 3rem 0;
  line-height: 1.5;
}

/* Background aesthetic - removed blobs */
.background-blobs {
  display: none;
}

.container {
  width: 95%;
  max-width: 650px;
  margin: 0 auto;
  background: var(--page-bg);
  border: 2px solid var(--primary); /* Red border */
  border-radius: 8px;
  padding: 1.5rem 2.5rem 2.5rem 2.5rem; /* Reduced top padding */
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  position: relative;
}

header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed var(--accent); /* Yellow dashed line */
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.1rem;
}

.logo .icon {
  font-size: 1.75rem;
}

h1 {
  font-family: var(--header-font);
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  font-family: var(--header-font);
  text-align: center; /* Centered */
}

.admin-link {
  color: inherit;
  text-decoration: none;
  cursor: default;
}

.admin-link:hover {
  color: inherit;
  text-decoration: none;
}

.top-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.top-icon-wrapper img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

/* Card Styles */
.card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.date-badge {
  display: block;
  color: var(--primary);
  font-family: var(--header-font);
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--header-font);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: left;
  background: #fffdf0; /* Light yellow tint */
  padding: 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dotted #dddddd;
  padding-bottom: 0.5rem;
}

.detail-item:last-child {
  border-bottom: none;
}

.label {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.value {
  font-size: 1rem;
  font-weight: 400;
}

/* Button Styles - Web 2.0 Glossy with McDonald's Colors */
.btn {
  display: inline-block;
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: var(--header-font);
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.1s ease;
  border: 2px solid #bb0000;
}

.btn.primary {
  background: linear-gradient(to bottom, #ffeb3b 0%, #ffc107 100%); /* Yellow gradient */
  color: #8b0000;
  box-shadow: 0 4px 0 #bb0000;
  margin-bottom: 4px;
}

.btn.primary:hover {
  background: linear-gradient(to bottom, #fff176 0%, #ffca28 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #bb0000;
}

.btn.primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #bb0000;
}

footer {
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #999;
  border-top: 1px solid #eeeeee;
}

.privacy-note {
  font-style: italic;
  font-family: var(--header-font);
}

/* Custom link styling */
a {
  color: var(--link-color);
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
  color: var(--accent);
}

/* Loading state */
.loading {
  opacity: 0.6;
}

.notify-container {
  margin-top: 1.5rem;
}

.btn.secondary.small {
  background: #f8f8f8;
  color: #666;
  font-size: 0.8rem;
  padding: 0.5rem;
  width: auto;
  border: 1px solid #dddddd;
  font-family: var(--font-family);
  box-shadow: none;
}

.btn.secondary.small:hover {
  background: #eeeeee;
  color: var(--primary);
}

.notify-status {
  font-size: 0.8rem;
  color: var(--primary);
  font-family: var(--header-font);
  margin-top: 0.5rem;
  min-height: 1.2rem;
}

/* iOS Instructions */
.ios-instructions {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fff9e6;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  text-align: left;
}

.ios-instructions h3 {
  font-family: var(--header-font);
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ios-instructions ol {
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.ios-instructions li {
  margin-bottom: 0.5rem;
}

.ios-instructions strong {
  color: var(--text-primary);
}

/* Mobile optimizations */
@media (max-width: 480px) {
  body {
    padding: 1rem 0;
  }
  .container {
    padding: 1.5rem;
  }
  .card {
    padding: 1.25rem;
  }
  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

