/*
 Theme Name:   Blocksy Child
 Template:     blocksy
 Version:      1.0.0
*/

/* ── Your custom CSS goes here ── */



/* ============================================
   Countdown
   ============================================ */
.matura-countdown {
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
  margin: 20px auto;
}

.countdown-label {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.countdown-boxes {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  min-width: 80px;
}

.countdown-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.countdown-label-small {
  display: block;
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  .countdown-box {
    min-width: 60px;
    padding: 10px;
  }
  .countdown-number {
    font-size: 24px;
  }
}


/* ===== MOJ RAČUN — Dashboard ===== */
.zd-dashboard { max-width: 760px; }

.zd-greeting { font-size: 1.05rem; margin-bottom: 1.5rem; }

.zd-section-title {
	font-size: 1.25rem;
	margin: 0 0 1rem;
}
.zd-section-subtitle {
	font-size: 1rem;
	color: #555;
	margin: 2rem 0 .6rem;
}

/* --- Materijali grid --- */
.zd-materials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1rem;
}
.zd-material-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e3e3e8;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .12s ease, box-shadow .12s ease;
}
.zd-material-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(0,0,0,.10);
}
.zd-material-thumb {
	display: block;
	height: 120px;
	background-size: cover;
	background-position: center;
	background-color: #f1f1f5;
}
.zd-material-thumb--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.4rem;
}
.zd-material-body {
	padding: .85rem 1rem 1rem;
	display: flex;
	flex-direction: column;
	gap: .35rem;
}
.zd-material-title { font-weight: 600; line-height: 1.3; }
.zd-material-cta { font-size: .88rem; color: #4f46e5; }

.zd-empty {
	padding: 1.25rem;
	background: #f7f7fa;
	border-radius: 10px;
}

/* --- Zadnja narudžba --- */
.zd-order-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
	padding: .85rem 1rem;
	background: #f7f7fa;
	border-radius: 10px;
}
.zd-order-meta { font-size: .9rem; color: #444; }
.zd-order-link { font-size: .9rem; white-space: nowrap; }

/* --- Brzi linkovi --- */
.zd-quick-links {
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid #ececf0;
	font-size: .92rem;
}

/* --- Grupa po planu --- */
.zd-plan-group { margin-bottom: 1.75rem; }
.zd-plan-group:last-child { margin-bottom: 0; }
.zd-plan-name {
	font-size: .82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #6b6b76;
	margin: 0 0 .7rem;
	padding-bottom: .4rem;
	border-bottom: 1px solid #ececf0;
}