:root {
  --background-col: hsl(230, 25%, 10%);
  --primary-color: hsl(230, 25%, 20%);
  --secondary-color: hsl(230, 40%, 80%);
  --accent-color: HSL(50.8, 100%, 50%);
  --accent-darker: #CC942C;
  
  --urgency-3: #f0372d;
  --urgency-2: #fd9233;
  --urgency-1: #73ae37;
}

/* === Dashboard (top two-column) === */
.dashboard-top {
    margin: 1em auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
  }
  
  .completed-list,
  .podium-card {
    border-radius: 3em;
	box-shadow: inset 0px 0px 0px 6px var(--secondary-color);
	padding: 1.2em;
  }
  
  .recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .recent-list li {
    padding: .6em .8em;
    /*! border-radius: .8em; */
    /*! border: 1px solid rgba(255,255,255,.08); */
    /*! text-align: left; */
    font-size: 1.1em;
  }
  
  /* === Podium === */
  .podium {
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    height: 200px;
    padding: .5em;
  }
  
  .podium-bar {
    width: 27%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: var(--background-col);
    border-radius: 1em;
    position: relative;
    background: var(--accent-darker);
  }
  
  .podium-bar.first { /*! width: 32%; */ background: silver;}
  
  .podium-bar.second {
  background: gold;
}
  .podium-value {
    position: absolute;
    top: -1.6em;
    font-weight: 700;
    font-size: 1.2em;
  }
  .podium-name {
    margin-top: .45em;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.5em;
  }
  
  /* Responsive: stack columns on small screens */
  @media only screen and (max-width: 600px) {
    .dashboard-top { grid-template-columns: 1fr; }
    .podium { height: 160px; }
  }
  

body {
    font-family: "Oswald", sans-serif;
    background-color: var(--primary-color);
    text-align: center;
    color: var(--secondary-color);
}

.task-container {
    justify-content: space-around;
    margin-top: 1em;
}

.task-table th, .task-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

#urgency-3 {
  -webkit-box-shadow:inset 0px 0px 0px 6px var(--urgency-3);
  -moz-box-shadow:inset 0px 0px 0px 6px var(--urgency-3);
  box-shadow:inset 0px 0px 0px 6px var(--urgency-3);
}

#urgency-2 {
	-webkit-box-shadow:inset 0px 0px 0px 6px var(--urgency-2);
  -moz-box-shadow:inset 0px 0px 0px 6px var(--urgency-2);
  box-shadow:inset 0px 0px 0px 6px var(--urgency-2);
}

#urgency-1 {
	-webkit-box-shadow:inset 0px 0px 0px 6px var(--urgency-1);
  -moz-box-shadow:inset 0px 0px 0px 6px var(--urgency-1);
  box-shadow:inset 0px 0px 0px 6px var(--urgency-1);
}

.task-table th {
    background-color: #f0f0f0;
}

#pin-entry, .management {
    /*! margin-top: 20px; */
}

button {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--background-col);
    cursor: pointer;
    color: var(--secondary-color);
    border-radius: 1.2em;
    padding-top: 1.2em;
    padding-bottom: 1.2em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    border: var(--background-col);
	font-family: "Oswald", sans-serif;
}

input, select, label {
    padding: 10px;
    font-size: 16px;
    width: 60%;
    font-weight: 600;
    background-color: var(--background-col);
    color: var(--secondary-color);
    border-radius: .7em;
    padding-top: .4em;
    padding-bottom: 0.4em;
    border: var(--secondary-color);
    border-style: solid;
    text-align: center;
    font-size: 29px;
	
}

input[type='checkbox'] { 
	width: auto;
    transform: scale(3);
    accent-color: var(--accent-color);
}

.completed-tasks {
    margin-top: 30px;
}

.task-table {
    margin: 1em auto;
	display: grid;
    grid-template: auto / 33.3% 33.3% 33.3%;
    /*! background-color: #4d546a; */
    border-radius: 3em;
    padding: 1.2em;
}

.task-tableA {
    margin: 20px auto;
    background-color: var(--background-col);
    font-size: 1.4em;
	border-radius: 2em;
	padding: 1em;
}

.task {
    background-color: var(--background-col);
    border-radius: 3em;
    padding-top: 2.5em;
    padding-bottom: 1.5em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin: 0.6em;
}

.top-container {
    margin: 1em auto;
	display: grid;
 
    grid-template: auto / 20% 20% 20% 20% 20%;
    /*! background-color: var(--primary-color); */
    border-radius: 3em;
	box-shadow: inset 0px 0px 0px 6px var(--secondary-color);
	padding: 1.2em;
}

.top-item {
	/*! padding-top: 1.4em; */
    /*! padding-bottom: 1.2em; */
    margin: 1.2em;
}

.row {
    display: grid;
  grid-auto-flow: column;
  justify-content: center;
}

.coin {
    width: 3rem;
}

h1, h2, h3 {
    color: var(--secondary-color);
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.4em;
    margin: 0;
	grid-area: 1 / 1 / span 1 / span 3;
	padding: 0.2em;
}

h3 {
    font-size: 2em;
    margin-bottom: 0em;
}

p {
    font-size: 1.2em;
}

@media only screen and (max-width: 600px) {
  .top-container {
    grid-template: auto / 50% 50%;
  }
  
  .task-table {
	grid-template: auto / 100%;
  }
  h3 { font-size: 1.4em; }
  h2 { grid-area: auto; font-size: 1.6em; }
  h1 { font-size: 2em; }
  p { font-size: 1em; }
  .coin { width: 2em; }
  input[type='checkbox'] { transform: scale(1.8); }
}
/* inverted coin for overdue bonus */
.coin.inverted { filter: invert(1); }
