body {
  font-family: 'Georgia', serif;
  background: url("/static/images/parchment_tile.png") repeat;
  background-color: #ebdfb7;
  margin: 0;
  padding: 20px;
  color: #2c2c2c;
  position: relative;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url("/static/images/burnt_vignette.png") center center no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

 .container {
      max-width: 900px;
      margin: 0 auto;
      padding: 2rem;
    }

.content {
  background: transparent;
  box-shadow: none;
}

.scroll-wrapper,
main,
header,
footer {
  position: relative;
  z-index: 1;
}


@keyframes dots {
  0% { content: "."; }
  33% { content: ".."; }
  66% { content: "..."; }
  100% { content: "."; }
}

#loading-indicator::after {
  content: "...";
  animation: dots 1.5s infinite;
}

.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  margin-top: 1.5rem;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}

.empty-cart .button-row .button {
  flex: 1 1 220px;
  text-align: center;
}

.button-small {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
}

.button:hover {
  background-color: #650292;
}

.header-right {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.login-button {
  padding: 0.4rem 0.8rem;
  font-size: 1rem;
  background-color: rgb(41, 38, 26, .3);
  color: rgb(226, 217, 185);
    text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  backdrop-filter: blur(15px);
}

.login-button:hover {
  background-color: #452d6f;
}


  .kefa-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #4e4e4e;
  text-align: center;
  border-top: 1px solid #e5e7eb; /* light gray divider */
  padding-top: 0.75rem;
}
.kefa-disclaimer small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.55rem;
  color: #787d85; /* gray-400 */
}

.content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

h2, h3, h4 {
  color: #5d3f92; /* purple accent */
}

.scripture a {
  color: #4a379e; /* richer purple for links */
  text-decoration: none;
}

.scripture a:hover {
  text-decoration: underline;
  color: #7a5fb0;
}

.reflection-block {
  overflow: hidden;
}

.reflection-block img,
.devotional-wrap img {
  float: right;
  width: 40%;
  height: auto;
  margin-left: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .reflection-block img,
  .devotional-wrap img {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1rem auto;
  }
}

.reflection-title {
  color: #4a773f; /* preserved your green tone for headers */
}

.prompt-section a {
  color: #5d3f92; /* purple for prompt links */
  text-decoration: underline;
}

.prompt-section a:hover {
  color: #7a5fb0;
}

.next-day {
  margin-top: 40px;
  text-align: right;
}

.next-day a {
  font-size: 1.1rem;
  color: #5d3f92;
  text-decoration: none;
}

.next-day a:hover {
  text-decoration: underline;
  color: #7a5fb0;
}

footer {
  text-align: center;
  margin-top: 50px;
  font-size: 0.8rem;
  color: rgb(34, 34, 34);
}

footer img {
  width: 100px;
  margin-bottom: 5px;
}

header {
  background-color: #5d3f92; /* TTW purple */
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
}

header h1 {
  margin: 0;
  font-size: 2.2rem;
}

header p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-style: italic;
  color: #ddd;
}

header .login-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

header {
  background-color: transparent
  color: white;
  padding: 4rem 1rem 3rem 1rem;
  text-align: center;
  position: relative;
}

.header-content {
  margin-bottom: 2rem;
}

.login-footer {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

header .login-button {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  background-color:  #f8f5f0;
  color: #5d3f92;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

header .login-button:hover {
  background-color: #e0d2f7;
}
header .cta-button {
  margin-top: 1.5rem;
  background-color: #5d3f92;
  color: #ffffff;
  font-size: large;
  font-weight: bold;
}

header .cta-button:hover {
  background-color: #e5dff5;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: #fffdf6;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-card img {
  max-width: 5%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto;
}

.product-current {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  max-width: 500;
  margin: auto;
}

.product-row {
  display: flex;
  flex-direction: row;
  background: #fffdf6;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product-image {
  flex: 0 0 100px;
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.product-info {
  padding: .5rem;
  flex: 1;
}

.product-info h2 {
  margin-top: 0;
  color: #5d3f92;
}

.product-info p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* pushes the button to the right */
  margin-bottom: 1rem;
}

.btn-admin {
  display: inline-block;
  padding: .45rem .8rem;
  font-size: .9rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
}

.btn-admin:hover {
  background: #f7f7f7;
}

