body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Header and logo */
header {
    background-color: #fff;
    border-bottom: 2px solid #dee2e6;
    padding: 20px 0;
}

/* Section padding */
section {
    padding-top: 10px;
    padding-bottom: 20px;
}

/* Video style */
#video {
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

/* Log cards */
#logCards .card {
    border: none;
    border-left: 6px solid #007bff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

#logCards .card:hover {
    transform: translateY(-5px);
}

#logCards .card-body {
    text-align: center;
}

/* Profile and description */
#profile {
    border: 3px solid #dee2e6;
}

/* Footer */
footer {
    border-top: 1px solid #dee2e6;
    font-size: 0.9rem;
    color: #777;
}

/* Modal tweaks */
.modal-header {
    border-bottom: none;
}

.modal-title {
    font-weight: bold;
}

/* Buttons */
button.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Hide unused elements until loaded */
#videoSection,
#descSection,
#logSection,
#resultsSection {
    display: none;
}

#cardWrapper {
    max-height: 600px;
    overflow-y: auto;
}

#cardContainer .card {
    transition: transform 0.2s;
}

#cardContainer .card:hover {
    transform: scale(1.02);
}

#cardContainer .card {
    width: 100%;
    margin-bottom: 15px;
    transition: transform 0.2s;
}

#cardContainer .card:hover {
    transform: scale(1.02);
}

#summaryCardContainer .card {
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.mb-3 {
    margin-bottom: 0 !important;
}
.btn-success , .btn-primary, .btn-primary:focus, .btn-primary:active{
    color: #fff;
    background-color: #049151;
    border-color: #049151;
  }

  .btn-success:hover , .btn-primary:hover, .btn-primary:focus, .btn-primary:active{
    color: #fff;
    background-color: #011D5A;
    border-color:  #011D5A;
  }

  .mt-2, .my-2 {
    margin-top: 1.5rem !important;
  }

  #resetLog {
    margin-left: 0.5rem;
  }
  