@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

body {
  user-select: none;
}

.nothing_text {
  text-align: center;
  margin-top: 50px;
  font-size: 24px;
  color: #555555;
}

nav {
  border-bottom: 1px solid #000000;
}

.nav-link {
  cursor: pointer;
}

.test-list-section {
  margin: 20px;
  padding: 18px;
  border: 1px solid #000000;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(28, 35, 52, 0.08);
}

.test-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.test-list-title {
  margin: 0;
  font-family: 'JoseonGulim';
  font-weight: 700;
  font-size: 24px;
}

.test-list-subtitle {
  margin: 4px 0 0;
  color: #5f6676;
  font-family: 'NanumSquare';
  font-size: 14px;
}

.test-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.test-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #000000;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 8px 20px rgba(31, 35, 48, 0.06);
  overflow: hidden;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.test-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(31, 35, 48, 0.12);
  cursor: pointer;
}

.test-thumb-wrap {
  position: relative;
  border-bottom: 1px solid #000000;
  padding: 14px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fig-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e3e5ec;
}

.test-block-body {
  padding: 14px 14px 12px;
  display: grid;
  gap: 6px;
}

.test-block .headline {
  font-family: 'JoseonGulim';
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
  color: #161a24;
}

.test-block .course {
  font-family: 'ReperepointSpecialItalic';
  font-size: 25px;
  margin: 0;
  line-height: 1.05;
}

.test-summary {
  margin: 2px 0 0;
  color: #61697a;
  font-family: 'NanumSquare';
  font-size: 13px;
  line-height: 1.4;
  min-height: 36px;
}

.test-meta-row {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.test-block .creator {
  font-family: 'JoseonGulim';
  font-size: 13px;
  margin: 0;
  color: #333b4d;
}

.test-meta-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #000000;
  background: #f7f9ff;
  color: #425070;
  border-radius: 999px;
  padding: 4px 10px;
  font-family: 'NanumSquare';
  font-size: 12px;
  font-weight: 700;
}

.description-img {
  display: block;
}

.user-tab {
  border: 1px solid #ccc;
  padding: 20px;
  margin: 20px;
  box-shadow: #1f1f1f33 0px 4px 12px;
  border-radius: 10px;
}

.user-info p{
  font-family: 'NanumSquare';
  margin: auto;
}

.test-tab {
  font-family: 'NanumSquare';
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 20px;
  margin: 20px;
  box-shadow: #1f1f1f33 0px 4px 12px;
}

.btn.btn-outline-success {
  margin: 5px 0px;
}

button {
  margin-top: 10px;
}

.user-name{
  display: inline-block;
  font-size: large;
  margin: auto;
  font-weight: 600;
}

.user-email {
  display: inline-block;
  font-size: large;
  margin: 5px 0;
  font-weight: 600;
}

.profile_img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.loading {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.my-test-block {
  background-color: #1f1f1f;
  display: flex;
  font-family: 'NanumSquare';
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 20px;
  margin: 20px;
  box-shadow: #1f1f1f33 0px 4px 12px;
}

@media (max-width: 768px) {
  .test-list-section {
    margin: 12px;
    padding: 12px;
    border-radius: 12px;
  }

  .test-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .test-block .course {
    font-size: 20px;
  }
}

