.uv-display strong {
    font-size: 30px;
}

.chart-container {
    height: 300px;
    padding: 10px;
    margin: 0 auto;
    background: #ffffff;
}
.gradient-text {
    background: linear-gradient(to top, #000000, #ee4b2b);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.custom-card-header {
    position: relative;
    color: #ffffff;
    background: linear-gradient(90deg, #333333 0%, #4d0000 100%);
    padding: 0.75rem;
    border: none;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.card {
    padding: 15px;
    margin: 10px auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 5px;
    max-width: 900px;
    background: #ffffff;
}

.card-body {
    margin-top: 20px;
    padding: 1rem;
}

.card2 {
width: 530px;
height: auto;
margin-top: 50px;
background-color:#ffffff ;
border-radius:8px 8px 0 0;
transition: all .2s;
}

.card2:hover {
transform: scale(0.98);
border-radius: 20px;
}

.card:hover {
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.15);
    transition: box-shadow 0.3s ease;
}
/*CODE FOR TABLE GRAPHIC*/
table {
    border-collapse: collapse;
    width: 600px;
    border: 1px solid #ddd;
}

th {
    background-color: #3b5998;
    color: white;
    padding: 8px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #ddd;
}

td {
    padding: 8px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.uv-box {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 2px;
    text-align: center;
    color: white;
    line-height: 30px;
    font-weight: bold;
}

.low {
    background-color: #97cf50;
}

.medium {
    background-color: #ffff00;
    color: black;
}

.high {
    background-color: #ff9933;
}

.very-high {
    background-color: #ff3333;
}

.extreme {
    background-color: #9966cc;
}

.category {
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.icon-row {
    text-align: center;
}

.arrow {
    font-size: 24px;
    padding-right: 10px;
}

.yellow-arrow {
    color: #ffff00;
}

.orange-arrow {
    color: #ff9933;
}

.red-arrow {
    color: #ff3333;
}

.purple-arrow {
    color: #9966cc;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out;
}

.left-stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 0 2rem;
}

.definition-item {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: slideIn 0.5s ease-out forwards;
}

.left-stack .definition-item:nth-child(1) { animation-delay: 0.2s; }
.left-stack .definition-item:nth-child(2) { animation-delay: 0.4s; }

.definition-item h2 {
  color: #660000;
  margin: 0 0 1.5rem 0;
  padding: 0.5rem 0;
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
}

.definition-item h2 i {
  color: #660000;
  font-size: 1.2em;
  animation: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.definition-item span {
  display: block;
  padding: 1rem 0;
  color: #333;
  line-height: 1.8;
  text-align: justify;
  max-width: 100%;
  hyphens: auto;
}

.definition-item ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
  text-align: justify;
}

.definition-item li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #333;
}

.definition-item li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #660000;
  font-size: 1.2em;
}

.custom-card-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-card-header h3 i {
    color: #ffffff;
}

.legend-container {
    padding: 15px;
    border-left: 1px solid #eee;
}

.legend-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.low { background-color: #97cf50; }
.legend-color.medium { background-color: #ffff00; }
.legend-color.high { background-color: #ff9933; }
.legend-color.very-high { background-color: #ff3333; }
.legend-color.extreme { background-color: #9966cc; }