@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

body {
  font-family: "Noto Sans KR", sans-serif;
  color: #1c1c1c;
}

/* For Fontawesome */
.fa-regular,
.far {
  font-weight: 900;
}

/* Login Screen */
.loginWrap {
  min-height: 506px;
}
.loginWrap .tab-content {
  display: none;
  border-color: #1e455f;
}
.loginWrap .border-gray-200 {
  border-color: #1e455f;
}
.loginWrap .tab-button {
  border-radius: 10px 10px 0 0;
}
.loginWrap .tab-button:hover {
  color: #b84c16;
}
.loginWrap .tab-content.active {
  display: block;
}
.loginWrap .tab-button.active {
  background: #1e455f; /* Tailwind's blue-500 */
  color: #fff; /* Tailwind's blue-600 */
}
.loginWrap .content-center {
  text-align: center;
}
.loginWrap .logo {
  max-width: 200px;
  display: inline-block;
}

/* Header */
header.header .logo {
  max-width: 160px;
}

/* Button And Link */
.btn {
  background: #1e455f;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all ease-in-out 0.2s;
}
.btn:hover {
  background: #fabf3d;
}
.lnk {
  color: #b84c16;
  text-decoration: none;
}
.lnk:hover {
  text-decoration: underline;
}

/*  */
.photoshoot-files-tabs .files-tab-btn.btn .text-gray-600 {
  color: #fff;
}

.recce-tag {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 600;
}

/* Select dropdown carrot icon */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.preview-img-wrap {
  width: 100%;
  height: 600px;
  overflow: hidden;
}
.previewWrap {
  position: relative;
}
.previewWrap .markCheckbox {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  z-index: 1;
}
.canvasWrap {
  position: relative;
}

/* Brand Team Dashboard */

.notification-item {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-left: 4px solid #1e455f;
}
.dashboard-section {
  background: white;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.section-title i {
  margin-right: 10px;
}
.stat-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-number a {
  font-size: 28px;
  font-weight: 800;
  color: #1f2937;
  text-decoration: none;
}
.stat-label {
  font-size: 13px;
  color: #6b7280;
}

/* HR Photoshoot Details */

.tab-btn,
.files-tab-btn,
.tab-btn2,
.files-tab-btn2,
.tab-btn3,
.files-tab-btn3,
.tabbtn,
.tabbtn2,
.tabbtn3 {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.tab-btn.active,
.files-tab-btn.active {
  background: #494949;
  color: #fff;
}

.tab-content {
  border: 1px Solid #eee;
  border-top: 2px solid #494949;
  background-color: #fafafa;
  padding: 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
}

.tab-btn2.active,
.files-tab-btn2.active {
  background: #266b99;
  color: #fff;
}

.tab-content2 {
  border: 1px Solid #85ceff;
  border-top: 2px solid #266b99;
  background-color: #dff2ff;
  padding: 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
}

.tab-btn3.active,
.files-tab-btn3.active {
  background: #fabe3c;
  color: #fff;
}

.tab-content3 {
  border: 1px Solid #f8d383;
  border-top: 2px solid #fabe3c;
  background-color: #fff8ea;
  padding: 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
}

.files-tab-btn.active .text-sm {
  color: #fff;
}
/* .tab-btn:hover { background: #FABF3D; color: #fff; } */
.status-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}
.status-inprogress {
  background: #fff7cc;
  color: #92400e;
}

/* Visual Analyzer Link Fix */
html,
body {
  height: 100%;
}
.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header.header {
  /*background: #fff;*/
}
main.flex-area {
  display: flex;
  gap: 16px;
  padding: 18px;
  /* height: calc(100vh - 80px); */
}
/* make column a flex column and fill the available height so it matches preview */
.thumb-column {
  width: 200px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(2, 6, 23, 0.06);
  padding: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.thumb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
}
/* Make each thumbnail full width of the column and show date below */
.thumb-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}
.thumb-item:hover {
  background: #f3f4f6;
}
.thumb-item.active {
  background: #e6f0ff;
}
.thumb-img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.thumb-meta {
  font-size: 13px;
  color: #374151;
}
.thumb-date {
  font-size: 12px;
  color: #6b7280;
  text-align: left;
}
.preview {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(2, 6, 23, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: auto;
}
.preview-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #e5e7eb;
  border-radius: 6px;
  padding: 12px;
}
.preview-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.preview-caption {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.caption-text {
  color: #374151;
  font-weight: 600;
}
@media (max-width: 900px) {
  main.flex-area {
    flex-direction: column;
    height: auto;
  }
  .thumb-column {
    width: 100%;
    max-height: 220px;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
  }
  .thumb-list {
    flex-direction: row;
  }
  .thumb-item {
    flex-direction: column;
    align-items: center;
  }
}

.green {
  color: green;
}

/* Certification Badge */
.certification-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
}
.certification-badge.not-certified {
  background: linear-gradient(135deg, #c8c8c8 0%, #e3e3e3 100%);
}

/* Attachment Listing */
.form-section {
  background: white;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.section-heading {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1c1c1c;
  margin-bottom: 8px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1e455f;
  box-shadow: 0 0 0 3px rgba(68, 64, 84, 0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkbox-item,
.radio-item {
  display: flex;
  align-items: center;
}
.checkbox-item input,
.radio-item input {
  margin-right: 8px;
}
.checkbox-item label,
.radio-item label {
  font-size: 14px;
  color: #374151;
  margin: 0;
  cursor: pointer;
}
.attachment-item {
  padding: 10px;
  background: #f3f4f6;
  border-radius: 6px;
  margin-bottom: 8px;
}
.attachment-item i {
  font-size: 16px;
}

input:disabled {
  background: #f0f0f0;
}

.ftbottom {
  min-height: 100vh;
  position: relative;
  padding-bottom: 80px;
}
.ftbottom footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.brand-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.status-in-progress {
  background-color: #fef3c7;
  color: #92400e;
}

.project-tile {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.08);
}

.drop-zone {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  color: #aaa;
  font-size: 1.2em;
  transition: all 0.3s ease;
}

.phfeedbackform .messagetobt textarea {
  height: 140px;
}
.phfeedbackform .feedback {
  min-height: 140px;
}
.phfeedbackform .messagetobt .drop-zone {
  min-height: 140px;
}
.phfeedbackform .uplodedimage img {
  height: 140px;
}

@media only screen and (max-width: 900px) {
  .thumb-list {
    display: table;
    width: auto;
    max-width: none;
  }
  .thumb-list .thumb-item {
    display: table-cell;
    min-width: 120px;
  }
}

/* for Get Certified page */
.play-box {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    box-shadow 0.18s ease,
    transform 0.12s ease;
  min-height: 360px;
}
.play-box:hover {
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
  transform: translateY(-3px);
}
.play-icon {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: linear-gradient(135deg, #444054 0%, #6b5b95 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 44px;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.12);
}
.play-label {
  color: #6b7280;
  margin-top: 12px;
}
.scorm-iframe {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-height: 520px;
}
.notice {
  font-size: 13px;
  color: #6b7280;
}

.instruction-note {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
  color: #1e40af;
  margin-bottom: 16px;
}

/* For top Certification status */
.certification-icon-header {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.certification-icon-header.valid {
  background-color: #10b981;
  cursor: text;
}
.certification-icon-header.valid:hover {
  background-color: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.certification-icon-header.invalid {
  background-color: #fc0563;
  cursor: pointer;
}
.certification-icon-header.invalid:hover {
  background-color: #b91c1c;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4);
}
.certification-tooltip {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background-color: #1f2937;
  color: white;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.certification-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  right: 12px;
  width: 8px;
  height: 8px;
  background-color: #1f2937;
  transform: rotate(45deg);
}
.certification-icon-header:hover .certification-tooltip {
  opacity: 1;
  visibility: visible;
}
.h1-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}

@keyframes progress-bar {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
.animate-progress-bar {
  animation: progress-bar 1.5s linear infinite;
}
