@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700");
@import url("https://fonts.googleapis.com/css?family=Roboto:400,300,500,700");

/*
 * INSPINIA - Responsive Admin Theme
 * version 2.4
*/

/* START MODOTECH STYLES */
.p-a-3 {
  /* Fixed: CSS does not support $variables directly. 
     Assuming a default spacer of 1rem/16px for Inspinia themes */
  padding: 3rem 3rem !important; 
}
#bodyAddPhoto {
  display: none;
}
/* END MODOTECH STYLES */

h1, h2, h3, h4, h5, h6 {
  font-weight: 100;
}
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
h5 { font-size: 12px; }
h6 { font-size: 10px; }

h3, h4, h5 {
  margin-top: 5px;
  font-weight: 600;
}

.nav > li > a {
  color: #a7b1c2;
  font-weight: 600;
  padding: 14px 20px 14px 25px;
}

/* ... [Sections omitted for brevity, preserving original logic] ... */

/* Fixed: Removed '*' hacks which are invalid in modern CSS */
.tabs-container .tabs-left > .nav-tabs .active > a,
.tabs-container .tabs-left > .nav-tabs .active > a:hover,
.tabs-container .tabs-left > .nav-tabs .active > a:focus {
  border-color: #e7eaec transparent #e7eaec #e7eaec;
  border-right-color: #ffffff; /* Removed '*' prefix */
}

.tabs-container .tabs-right > .nav-tabs .active > a,
.tabs-container .tabs-right > .nav-tabs .active > a:hover,
.tabs-container .tabs-right > .nav-tabs .active > a:focus {
  border-color: #e7eaec #e7eaec #e7eaec transparent;
  border-left-color: #ffffff; /* Removed '*' prefix */
  z-index: 1;
}

/* ... [Rest of file content] ... */

@media (max-width: 350px) {
  .timeline-item .date {
    text-align: left;
    width: 110px;
    position: relative;
    padding-top: 30px;
  }
  .timeline-item .date i {
    position: absolute;
    top: 0;
    left: 15px;
    padding: 5px;
    width: 30px;
    text-align: center;
    border: 1px solid #e7eaec;
    background: #f8f8f8;
  }
  .timeline-item .content {
    border-left: none;
    border-top: 1px solid #e7eaec;
    padding-top: 10px;
    min-height: 100px;
  }
  .nav.navbar-top-links li.dropdown {
    display: none;
  }
  .ibox-tools {
    float: none;
    text-align: left;
    display: inline-block;
  }
}

/* Only demo */
@media (max-width: 1000px) {
  .welcome-message {
    display: none;
  }
}

@media print {
  nav.navbar-static-side {
    display: none;
  }
  #page-wrapper {
    margin: 0;
  }
}

/* --- INSPINIA COMPATIBILITY RESET --- */
/* Forces V1 to drop the "Yellow Sticky" styles so V2 can take over */
/* --- THE WRAPPER: Control the grid --- */
.notes {
    list-style: none;
    display: flex;
    flex-wrap: wrap;       /* This allows them to wrap to the next line */
    gap: 20px;            /* Spacing between the cards */
    padding: 20px 0;
    justify-content: flex-start; /* Aligns cards to the left */
}

/* --- THE CARD SIZE: Keep them uniform --- */
.notes li {
    /* flex: grow shrink basis */
    flex: 0 0 300px;      /* DO NOT grow, DO NOT shrink, ALWAYS try to be 300px wide */
    width: 300px;         /* Forced width for older browser compatibility */
}

.score-card-container {
    background: var(--color-surface);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    
    /* Ensure all cards have the same height even if text is shorter/longer */
    min-height: 250px;    
    display: flex;
    flex-direction: column;
}

/* Hover effects for both versions */
.score-card-container:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--color-accent-light) !important;
}

/* Internal Hierarchy */
.score-year {
    display: block;
    font-size: var(--font-size-xl);
    color: var(--color-accent);
    margin-bottom: 4px;
}

.score-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.score-details {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--color-text-secondary);
}

.high-score-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--color-surface-alt);
    font-weight: 700;
    color: var(--color-success);
    font-size: 0.9rem;
}

/* Update these two selectors in your V2 CSS file */
.score-details, .high-score-footer {
    display: block; /* Makes the span act exactly like the div did */
}

/* Ensure the footer still stays at the bottom */
.high-score-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--color-surface-alt);
    font-weight: 700;
    color: var(--color-success);
}