/* Custom CSS Styles */
:root {
  --primary-color: #1c355e;
  --secondary-color: #6b2c72;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #212529;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f8f9fa;
}


a {
  text-decoration: none;
  color: var(--primary-color);
}

/* Header Styles */
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.stats-card {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Featured Study */
.featured-study-card {
  border-left: 3px solid var(--primary-color);
  background-color: #ECF8F8;
}

/* Research Table */
.research-table {
  font-size: 0.9rem;
}

/* .research-table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
} */

.research-table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-left: 3px solid var(--primary-color);
}

/* .research-table thead th {
  border: none;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 1rem 0.75rem;
  text-align: center;
  vertical-align: middle;
} */

.research-table thead th {
  border: 1px solid #ffffff4d !important;
  border: 1px solid #ffffff4d !important;
  border: 1px solid #ffffff4d !important;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.45rem 0.75rem !important;
  text-align: center;
  vertical-align: middle;
  background: #2D3362;
  color: white;
}

.research-table tbody tr {
  transition: all 0.2s ease;
  border-left: 3px solid var(--primary-color);
  /* Add left border to all rows */
}

.research-table tbody tr:hover {
  background-color: rgba(28, 53, 94, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.research-table tbody td {
  padding: 0.75rem;
  vertical-align: middle;
  border-bottom: 1px solid #e9ecef;
}

.research-table .app-name {
  font-weight: 600;
  color: var(--primary-color);
}

.research-table .featured-row {
  background: linear-gradient(135deg, rgba(28, 53, 94, 0.03) 0%, rgba(107, 44, 114, 0.03) 100%);
  border-left: 3px solid var(--primary-color);
  /* Featured rows get purple border */
  /* border-radius: 8px; */

}

.research-table .table-row {
  background: white;
  border-left: 3px solid var(--primary-color);
  /* Regular rows get blue border */
  /* border-radius: 8px; */
}

/* Badges */
.badge-year {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
}

.badge-tested {
  background: var(--success-color);
  color: white;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 15px;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.badge-featured {
  background: var(--secondary-color);
  color: white;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  font-size: 0.65rem;
  text-transform: uppercase;
}

/* PDF Button */
.btn-pdf {
  background: var(--danger-color);
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s ease;
}

.btn-pdf:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Researcher Photo */
.researcher-photo {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(28, 53, 94, 0.1), rgba(107, 44, 114, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* Research Studies */
.research-study {
  border-left: 3px solid var(--primary-color);
  padding: 1rem;
  margin-bottom: 1rem;
  background: white;
  border-radius: 0 8px 8px 0;
  transition: all 0.2s ease;
}

.research-study:hover {
  background: #f8f9fa;
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left-color: var(--secondary-color);
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0f2847, #5a2460);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 53, 94, 0.3);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Card Enhancements */
.card {
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 992px) {
  .hero-section .display-5 {
    font-size: 2.5rem;
  }

  .stats-card {
    margin-top: 2rem;
  }

  .d-flex.gap-3 {
    flex-direction: column;
    gap: 1rem !important;
  }

  .btn-lg {
    width: 100%;
  }
}

@media (max-width: 768px) {

  /* Header */
  .logo-icon {
    width: 35px;
    height: 25px;
    font-size: 0.75rem;
  }

  .logo-icon+div h1 {
    /* font-size: 1rem !important; */
    font-size: 14px !important;
  }

  .logo-icon+div p {
    font-size: 0.75rem !important;
  }

  header .btn {
    font-size: 0.75rem;
    /* padding: 0.375rem 0.75rem; */
    padding: 3px 6px;
  }

  /* Hero Section */
  .hero-section {
    padding: 3rem 0 !important;
  }

  .hero-section .display-5 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .hero-section .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .stats-card {
    margin-top: 2rem;
  }

  .stats-card .h2 {
    font-size: 1.5rem !important;
  }

  /* Featured Study */
  .featured-study-card {
    margin: 1rem 0;
  }

  .featured-study-card .row {
    flex-direction: column;
  }

  .study-highlights {
    margin-top: 1rem;
  }

  /* Research Table */
  .research-table {
    font-size: 0.7rem;
  }

  .research-table thead th {
    /* padding: 0.5rem 0.25rem; */
    font-size: 0.65rem;
    line-height: 1.2;
  }

  .research-table tbody td {
    padding: 0.5rem 0.25rem;
  }

  .research-table .app-name {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .badge-year {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
  }

  .badge-tested {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }

  .badge-featured {
    font-size: 0.55rem;
    padding: 0.15rem 0.3rem;
  }

  .btn-pdf {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  /* Cards */
  .card-header .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }

  .card-header .d-flex>div:last-child {
    width: 100%;
  }

  .card-header .d-flex .d-flex {
    width: 100%;
    justify-content: space-between;
  }

  /* Research Studies */
  .research-study {
    padding: 0.75rem;
  }

  .research-study .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .research-study .d-flex>div:last-child {
    margin-top: 0.75rem;
    align-self: flex-end;
  }

  .research-study h6 {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .research-study p {
    font-size: 0.75rem;
  }

  /* Sidebar */
  .researcher-photo {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .collaboration-cta .d-flex {
    flex-direction: column;
    gap: 0.5rem !important;
  }

  /* Buttons */
  .btn-sm {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .btn-lg {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }

  /* Footer */
  footer .row {
    text-align: center;
  }

  footer .col-md-4 {
    margin-bottom: 2rem;
  }

  footer .d-flex.flex-column {
    align-items: center;
  }

  footer .d-flex.gap-2 {
    justify-content: center;
  }

  /* Alert */
  .alert .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left;
  }

  .alert .d-flex>div:last-child {
    margin-top: 1rem;
    width: 100%;
  }

  .alert .btn {
    width: 100%;
  }

  /* Newsletter */
  .newsletter-form .d-grid {
    gap: 0.75rem;
  }

  /* Table responsive improvements */
  .table-responsive {
    border: none;
    box-shadow: none;
  }

  .research-table tbody tr {
    border-left-width: 2px;
  }

  .research-table .featured-row {
    border-left-width: 2px;
  }

  .research-table .table-row {
    border-left-width: 2px;
  }
}

@media (max-width: 576px) {

  /* Extra small devices */
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero-section .display-5 {
    font-size: 1.75rem;
  }

  .research-table {
    font-size: 0.65rem;
  }

  .research-table thead th {
    /* padding: 0.375rem 0.125rem; */
    padding: 0.25rem 0.75rem !important;
    font-size: 0.7rem;
  }

  .research-table tbody td {
    padding: 0.375rem 0.125rem;
  }

  .research-table .app-name {
    font-size: 0.7rem;
  }

  .btn-pdf {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .badge-year,
  .badge-tested,
  .badge-featured {
    font-size: 0.55rem;
    padding: 0.125rem 0.25rem;
  }


  .card-body {
    padding: 1rem;
  }

  .research-study {
    padding: 0.5rem;
  }

  .research-study h6 {
    font-size: 0.85rem;
  }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {

  .btn:hover,
  .card:hover,
  .research-table tbody tr:hover,
  .research-study:hover {
    transform: none;
  }

  .btn {
    min-height: 44px;
  }

  .btn-sm {
    min-height: 38px;
  }

  .btn-pdf {
    min-width: 38px;
    min-height: 38px;
  }
}

/* Landscape phone orientation */
@media (max-width: 896px) and (orientation: landscape) {
  .hero-section {
    padding: 2rem 0 !important;
  }

  .hero-section .display-5 {
    font-size: 1.75rem;
  }

  .stats-card {
    margin-top: 1rem;
  }
}

/* Animation */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Collaboration CTA */
.collaboration-cta {
  border: 1px solid #e9ecef;
}

/* Study Highlights */
.study-highlights {
  border: 5px solid white;
  background-color: white !important;
  box-shadow: 0 0 3px white;
}

/* Footer Styles */
footer p,
.footerLinks a,
.footerBottom {
  color: #ffffff8c;
}

.heroIconBoxes {
  background-color: #74618e94;
  border-radius: 5px;
}


@media only screen and (max-width: 576px) {
  .statsCard {
    font-size: 10px;
  }

  .statsText {
    font-size: 13px;
  }

  .needCustom {
    text-align: center;
  }

  .needCustomText {
    text-align: center;
  }

}

/* Tabs Styling */
.nav-tabs {
  border-bottom: 2px solid var(--primary-color);
}

.nav-tabs .nav-link {
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  border-color: transparent;
  background-color: rgba(28, 53, 94, 0.1);
  color: var(--primary-color);
}

.nav-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-color: transparent;
}

.nav-tabs .nav-link.active:hover {
  background: linear-gradient(135deg, #0f2847, #5a2460);
  color: white;
}

/* Clickable Rows */
.clickable-row {
  cursor: pointer;
  transition: all 0.2s ease;
}

.clickable-row:hover {
  background-color: rgba(28, 53, 94, 0.08) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.clickable-row:active {
  transform: translateY(0);
}

/* Timeline Styling */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timeline-content {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 3px solid var(--primary-color);
}

/* Featured Study Items */
.featured-study-item {
  transition: all 0.2s ease;
  cursor: pointer;
}

.featured-study-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color) !important;
}

/* Analytics Cards */
.analytics-card {
  transition: all 0.2s ease;
}

.analytics-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color) !important;
}

/* Mobile Responsive for Tabs */
@media (max-width: 768px) {
  .nav-tabs .nav-link {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }

  .nav-tabs .nav-link i {
    display: none;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-marker {
    left: -1.5rem;
    width: 0.75rem;
    height: 0.75rem;
  }
}

.nav-item a {
  text-decoration: none;
}

.beginner-users td,
.intermediate td {
  background-color: #323263 !important;
  /* background-color: #0D6EFD !important; */
  color: white;
  border-left: 3px solid var(--primary-color);
}

.card-title,
.card-sub-title {
  color: #323263;
}

/* Proficiency Table Specific Styles */
.proficiency-table {
  font-size: 0.9rem;
  vertical-align: middle;
}

.proficiency-table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-left: 3px solid var(--primary-color);

}

/* .proficiency-table thead th {
  border: none;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 1rem 0.75rem;
  padding: 0.45rem 0.75rem;
  text-align: center;
  vertical-align: middle;
} */


.proficiency-table thead th {
  border: 1px solid #ffffff4d !important;
  border: 1px solid #ffffff4d !important;
  border: 1px solid #ffffff4d !important;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.45rem 0.75rem !important;
  text-align: center;
  vertical-align: middle;
  background: #2D3362;
  color: white;
}

.proficiency-table .section-header td {
  font-size: 1rem;
  letter-spacing: 1px;
}

.proficiency-table .data-row {
  transition: all 0.2s ease;
  border-left: 3px solid var(--primary-color);
}

.proficiency-table .data-row td {
  border: 1px solid rgba(0, 0, 0, 0.175);
}



.proficiency-table .data-row:hover {
  background-color: rgba(28, 53, 94, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.proficiency-table .featured-app {
  background: linear-gradient(135deg, rgba(28, 53, 94, 0.03) 0%, rgba(107, 44, 114, 0.03) 100%);
  border-left: 3px solid var(--secondary-color);
}

.proficiency-table .app-name {
  font-weight: 600;
  color: var(--primary-color);
}

.proficiency-table .app-name-cell {
  min-width: 150px;
}

/* Proficiency Score Styling */
.proficiency-score {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: inline-block;
  min-width: 40px;
}

.proficiency-score.high-score {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.proficiency-score.medium-score {
  /* background: linear-gradient(135deg, #ffc107, #fd7e14); */
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.proficiency-score.low-score {
  background: linear-gradient(135deg, #dc3545, #e83e8c);
  color: white;
}

/* Confidence Interval Styling */
/* .confidence-interval {
  font-family: "Courier New", monospace;
  font-weight: 600;
  color: var(--secondary-color);
  background: rgba(107, 44, 114, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
} */

/* Study Hours Styling */
/* .study-hours {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.05rem;
}

.hours-range {
  font-size: 0.85rem;
  color: #6c757d;
  font-style: italic;
} */

/* Sample Size Styling */
.sample-size, .hours-range, .study-hours, .confidence-interval  {
  font-weight: 600;
  color: #495057;
  background: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Explanatory Notes Styling */
.explanatory-notes .note-item {
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
  background: #f8f9fa;
  border-radius: 0 8px 8px 0;
  transition: all 0.2s ease;
}

.explanatory-notes .note-item:hover {
  background: #e9ecef;
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Proficiency Table */
@media (max-width: 768px) {
  .proficiency-table {
    font-size: 0.75rem;
  }

  .proficiency-table thead th {
    /* padding: 0.5rem 0.25rem; */
    font-size: 0.7rem;
  }

  .proficiency-table tbody td {
    padding: 0.5rem 0.25rem;
  }

  .proficiency-score {
    font-size: 0.9rem;
    padding: 0.2rem 0.4rem;
  }

  .confidence-interval,
  .proficiency-table td:nth-child(5),
  .proficiency-table td:nth-child(6), .proficiency-table td:nth-child(7) {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
  }
}


@media (max-width: 576px) {
  .proficiency-table {
    font-size: 0.7rem;
  }

}

/* Media Coverage Styles */
.media-item {
  transition: all 0.2s ease;
  cursor: pointer;
}

.media-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color) !important;
}

.media-logo {
  width: 40px;
  height: 40px;
  background: rgba(28, 53, 94, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Publication Styles */
.publication-item {
  transition: all 0.2s ease;
}

.publication-item:hover {
  background: #e9ecef !important;
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Media Coverage List */
.media-coverage-item {
  transition: all 0.2s ease;
}

.media-coverage-item:hover {
  background: #f8f9fa;
  transform: translateX(3px);
}

.media-icon {
  width: 40px;
  height: 40px;
  background: rgba(28, 53, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Impact and Awards */
.impact-item {
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid var(--primary-color);
}

.impact-item:hover {
  background: #e9ecef;
  transform: translateX(2px);
  transition: all 0.2s ease;
}

.award-item {
  transition: all 0.2s ease;
}

.award-item:hover {
  background: #e9ecef !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for media coverage */
@media (max-width: 768px) {
  .media-coverage-item {
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left;
  }

  .media-coverage-item .btn {
    margin-top: 0.5rem;
    align-self: flex-end;
  }

  .publication-item .d-flex {
    flex-direction: column;
  }

  .publication-item .ms-3 {
    margin-left: 0 !important;
    margin-top: 1rem;
    align-self: flex-end;
  }
}

/* Media Logo Cards */
.media-logo-card {
  transition: all 0.2s ease;
  cursor: pointer;
  min-height: 120px;
}

.media-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color) !important;
  background-color: rgba(28, 53, 94, 0.05);
}

.media-logo-card h6 {
  color: var(--primary-color);
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Citations Table */
.citations-table {
  font-size: 0.9rem;
}

.citations-table tbody tr {
  transition: all 0.2s ease;
  border-left: 3px solid var(--primary-color);
}

.citations-table tbody tr:hover {
  background-color: rgba(28, 53, 94, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.citations-table .citation-item {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #e9ecef;
}

.citations-table .citation-item a {
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.2s ease;
}

.citations-table .citation-item a:hover {
  color: var(--secondary-color);
  text-decoration: underline !important;
}

/* Responsive adjustments for media grid */
@media (max-width: 768px) {
  .media-logo-card {
    min-height: 100px;
  }

  .media-logo-card h6 {
    font-size: 0.8rem;
  }

  .media-logo-card i {
    font-size: 1.5rem !important;
  }

  .citations-table {
    font-size: 0.8rem;
  }

  .citations-table .citation-item {
    padding: 0.75rem;
  }
}

@media (max-width: 576px) {
  .media-logo-card {
    min-height: 80px;
  }

  .media-logo-card h6 {
    font-size: 0.75rem;
  }

  .media-logo-card i {
    font-size: 1.2rem !important;
  }

  .citations-table {
    font-size: 0.75rem;
  }

  .citations-table .citation-item {
    padding: 0.5rem;
  }
}

/* Proficiency Table Specific Styles */
.proficiency-table {
  font-size: 0.9rem;
}

.proficiency-table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.proficiency-table thead th {
  border: 1px solid rgba(0, 0, 0, 0.175);
  font-weight: 600;
  font-size: 0.8rem;
  /* padding: 1rem 0.75rem; */
  padding: 0.25rem 0.75rem;
  text-align: center;
  vertical-align: middle;
}

.proficiency-table .section-header td {
  font-size: 1rem;
  letter-spacing: 1px;
}

.proficiency-table .data-row {
  transition: all 0.2s ease;
  border-left: 3px solid var(--primary-color);
}

.proficiency-table .data-row:hover {
  background-color: rgba(28, 53, 94, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.proficiency-table .featured-app {
  background: linear-gradient(135deg, rgba(28, 53, 94, 0.03) 0%, rgba(107, 44, 114, 0.03) 100%);
  border-left: 3px solid var(--secondary-color);
}

.proficiency-table .app-name {
  font-weight: 600;
  color: var(--primary-color);
}

.proficiency-table .app-name-cell {
  min-width: 150px;
}

/* Proficiency Score Styling */
.proficiency-score {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: inline-block;
  min-width: 40px;
}

.proficiency-score.high-score {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.proficiency-score.medium-score {
  /* background: linear-gradient(135deg, #ffc107, #fd7e14); */
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.proficiency-score.low-score {
  background: linear-gradient(135deg, #dc3545, #e83e8c);
  color: white;
}

/* Confidence Interval Styling */
/* .confidence-interval {
  font-family: "Courier New", monospace;
  font-weight: 600;
  color: var(--secondary-color);
  background: rgba(107, 44, 114, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
} */

/* Study Hours Styling */
/* .study-hours {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.05rem;
} */

/* .hours-range {
  font-size: 0.85rem;
  color: #6c757d;
  font-style: italic;
} */

/* Sample Size Styling */
.sample-size, .hours-range, .study-hours, .confidence-interval  {
  font-weight: 600;
  color: #495057;
  background: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Explanatory Notes Styling */
.explanatory-notes .note-item {
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
  background: #f8f9fa;
  border-radius: 0 8px 8px 0;
  transition: all 0.2s ease;
}

.explanatory-notes .note-item:hover {
  background: #e9ecef;
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Quick Stats Styling */
.stat-item {
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid var(--primary-color);
}

.stat-item:hover {
  background: #e9ecef;
  transform: translateX(2px);
  transition: all 0.2s ease;
}

/* Responsive Design for Proficiency Table */
@media (max-width: 768px) {
  .proficiency-table {
    font-size: 0.75rem;
  }

  .proficiency-table thead th {
    /* padding: 0.5rem 0.25rem; */
    font-size: 0.7rem;
  }

  .proficiency-table tbody td {
    padding: 0.5rem 0.25rem;
  }

  .proficiency-score {
    font-size: 0.9rem;
    padding: 0.2rem 0.4rem;
  }

  .confidence-interval,
  .proficiency-table td:nth-child(5),
  .proficiency-table td:nth-child(6), .proficiency-table td:nth-child(7) {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
  }
}


@media (max-width: 576px) {
  .proficiency-table {
    font-size: 0.7rem;
  }

}

.education-item {
  border-left: 3px solid var(--primary-color) !important;
}

@media only screen and (max-width: 768px) {
  .emailText {
    font-size: 11px;
  }

}

.emailText {
  font-size: 12px;
  font-weight: bold;
}

.authorDegree{
  font-size: 14px;
}

.needCustomText
{
  font-size: 13px;
}
