.my-course-list-page {
  padding: clamp(24px, 4vw, 40px) 0 48px;
}

.my-course-list-header {
  margin-bottom: 24px;
}

.my-course-list-header h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.my-course-card {
  overflow: hidden;
  margin-top: 20px;
  background: #fff;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.08);
}

.my-course-card__header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: #fff;
  background: #007bff;
}

.my-course-card--subscription .my-course-card__header {
  background: #198754;
}

.my-course-card__date {
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.my-course-card__badge {
  flex: 0 0 auto;
  padding: 0.25rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  border-radius: 999px;
}

.my-course-card__body {
  padding: clamp(18px, 3vw, 24px);
}

.my-course-card__main {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.my-course-card__title {
  min-width: 0;
  color: #111827;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
}

.my-course-card__action {
  flex: 0 0 auto;
}

.my-course-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 42px;
  padding: 0.5rem 1rem;
  color: #b42318;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #dc3545;
  border-radius: 6px;
  background: #fff;
}

.my-course-button:hover {
  color: #fff;
  text-decoration: none;
  background: #dc3545;
}

.my-course-content-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.my-course-content-item {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #e5e7eb;
}

.my-course-content-item__title {
  min-width: 0;
  line-height: 1.5;
}

.my-course-content-item__action {
  flex: 0 0 auto;
}

.my-course-card__footer {
  padding: 14px 18px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.my-course-card__danger {
  color: #b42318;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.my-course-card__muted,
.my-course-card__subtle-link {
  color: #6b7280;
  font-size: 0.95rem;
}

.my-course-card__subtle-link {
  text-decoration: none;
}

.my-course-card__subtle-link:hover {
  color: #374151;
  text-decoration: underline;
}

.my-course-card__notice {
  color: #075985;
  line-height: 1.5;
}

.my-course-card__notice p {
  margin: 0.25rem 0;
}

.my-course-card--empty .my-course-card__body {
  text-align: center;
}

@media (max-width: 575.98px) {
  .my-course-list-page {
    padding-top: 20px;
  }

  .my-course-card {
    margin-top: 16px;
  }

  .my-course-card__header,
  .my-course-card__main,
  .my-course-content-item {
    align-items: stretch;
    flex-direction: column;
  }

  .my-course-card__header {
    gap: 8px;
  }

  .my-course-card__badge {
    width: fit-content;
  }

  .my-course-card__action,
  .my-course-content-item__action {
    width: 100%;
  }

  .my-course-button {
    width: 100%;
  }
}
body {
  margin: 0;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
}

.container-fluid {
  width: 100%;
}

.navbar {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 1rem;
}

.navbar.fixed-top {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar.bg-primary {
  background: #007bff;
}

.navbar-brand {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.navbar-brand:hover {
  color: #fff;
  text-decoration: none;
}

.container {
  box-sizing: border-box;
  width: min(100% - 32px, 1110px);
  margin-right: auto;
  margin-left: auto;
}

.sign-in-page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 56px);
  padding: clamp(48px, 8vh, 88px) 0 32px;
}

.sign-in-panel {
  width: min(100%, 540px);
}

.sign-in-page .card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(31, 41, 55, 0.12);
}

.sign-in-page .card-body {
  padding: clamp(24px, 4vw, 36px);
}

.sign-in-title {
  margin: 0 0 24px;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.sign-in-page .form-group {
  margin-bottom: 1rem;
}

.sign-in-page label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.sign-in-page .form-control {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.sign-in-page .form-control:focus {
  border-color: #007bff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.18);
}

.sign-in-page .text-right {
  text-align: right;
}

.sign-in-page .text-info {
  color: #087990;
}

.sign-in-page .btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 6px;
}

.sign-in-page .btn-primary {
  color: #fff;
  background: #007bff;
  border-color: #007bff;
}

.sign-in-page .btn-block {
  width: 100%;
}

.sign-in-page .alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
}

.sign-in-page .alert-danger {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

@media (max-width: 575.98px) {
  .container {
    width: min(100% - 24px, 1110px);
  }

  .navbar {
    min-height: 44px;
    padding: 0.45rem 0.75rem;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .sign-in-page {
    min-height: calc(100vh - 44px);
    padding-top: 28px;
  }

  .sign-in-page .card-body {
    padding: 22px 18px;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
