@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 .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, .tabbtn { padding: .5rem 1rem; border-radius: .5rem; }
.tab-btn.active, .files-tab-btn.active { background: #1E455F; color: #fff; }
.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; }
.section-heading i { margin-right: 10px; font-size: 18px; color: #1E455F; }
.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 { display: flex; align-items: center; padding: 10px; background: #f3f4f6; border-radius: 6px; margin-bottom: 8px; cursor: pointer;}
.attachment-item i { margin-right: 8px; color: #6b7280; 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 { background: white; 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 .18s ease, transform .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;}