﻿/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ============================================
   Runner Registration Styles
   ============================================ */

/* Registration Container */
.registration-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.registration-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 0;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  color: black;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.registration-header h1 {
  color: black;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.registration-header .lead {
  color: black;
  font-size: 1.1rem;
}

/* Registration Card */
.registration-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.card-header-section {
  border-bottom: 3px solid #667eea;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.card-header-section h2 {
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-header-section i {
  color: #667eea;
}

/* Form Styles */
.registration-form .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

.registration-form .form-label.required::after {
  content: " *";
  color: #dc3545;
}

.registration-form .form-control,
.registration-form .form-select {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.registration-form .form-text {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Qualification Standards Box */
.qualification-standards-box {
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  padding: 1.5rem;
  border-radius: 8px;
}

.qualification-standards-box h5 {
  color: #667eea;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
}

.form-actions .btn {
  min-width: 180px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-actions .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

.form-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Policy Info */
.policy-info .alert {
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.policy-info h5 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.policy-info ul {
  padding-left: 1.5rem;
}

.policy-info li {
  margin-bottom: 0.5rem;
}

/* Success Page */
.success-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.success-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  text-align: center;
}

.success-icon {
  font-size: 5rem;
  color: #28a745;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  color: #333;
  font-weight: 700;
  margin-bottom: 1rem;
}

.success-message {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.registration-summary {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: left;
}

.registration-summary h3 {
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 2px solid #667eea;
  padding-bottom: 1rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.summary-item {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #667eea;
}

.summary-label {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.summary-value {
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
}

.next-steps {
  text-align: left;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #e7f3ff;
  border-radius: 10px;
  border-left: 4px solid #1b6ec2;
}

.next-steps h4 {
  color: #1b6ec2;
  margin-bottom: 1rem;
}

.next-steps ul {
  margin: 0;
  padding-left: 1.5rem;
}

.next-steps li {
  margin-bottom: 0.75rem;
  color: #555;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.action-buttons .btn {
  min-width: 150px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
}

/* Qualification Standards Page */
.standards-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.standards-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  color: black;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.standards-header h1 {
  color: black;
  font-weight: 700;
}

.standards-card {
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%;
}

.standards-card-header {
  padding: 1.5rem;
  color: white;
  text-align: center;
}

.standards-card-header.male {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.standards-card-header.female {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.standards-card-header h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.standards-table-container {
  padding: 1.5rem;
}

.standards-table-container table {
  margin: 0;
}

.standards-table-container thead {
  background: #f8f9fa;
}

.standards-table-container th {
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
}

.standards-table-container tbody tr {
  transition: background-color 0.2s ease;
}

.standards-table-container tbody tr:hover {
  background-color: #f8f9fa;
}

.time-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
}

.policy-notes {
  margin-top: 2rem;
}

.policy-notes .alert {
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.policy-notes h5 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .registration-card {
    padding: 1.5rem;
  }

  .registration-header {
    padding: 1.5rem 1rem;
  }

  .registration-header h1 {
    font-size: 1.75rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .success-card {
    padding: 2rem 1.5rem;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-buttons .btn {
    width: 100%;
  }
}

/* Bootstrap Icons Support */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css');