@charset "utf-8";

.dz-channel-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid #f7f7f7;
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.08);
  min-height: 18rem;
}

.dz-channel-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dz-channel-card-thumbnail {
  width: 5rem;
  height: 5rem;
  /* background-color: #d9d9d9; */
  border-radius: 0.5rem;
  overflow: hidden; /* 이미지가 모서리를 넘어가지 않도록 설정 */
}

/* 컨테이너 안의 이미지 */
.dz-channel-card-thumbnail img {
  width: 100%; /* 부모 요소의 너비를 꽉 채움 */
  height: 100%; /* 부모 요소의 높이를 꽉 채움 */
  object-fit: cover; /* ✅ 수정: 비율을 유지하며 부모 요소 안에 맞춤 */
}

.dz-channel-card-name {
  color: #151515;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.dz-channel-card-handle-id {
  border-radius: 6.25rem;
  background: #f1f1f3;
  color: #525253;
  padding: 0.25rem 0.625rem;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.dz-channel-description {
  color: #adadad;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  height: 3.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.dz-channel-card-new {
  padding: 5.5625rem 5.3125rem;
  border-radius: 1.25rem;
  border: 2px dashed #d1d5dc;
  text-align: center;
  min-height: 18rem;
}

.dz-channel-card-new-title {
  color: #808080;
  text-align: center;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* form1 */

.dz-char-counter {
  font-size: 0.875rem;
  color: #6c757d;
}

/* File Upload Area */
.dz-file-drop-area {
  border-radius: 1.25rem;
  border: 2px dashed #d1d5dc;
  background: #f9fafb;
  padding: 1.75rem 2rem;
  text-align: center;
  transition:
    border-color 0.3s,
    background-color 0.3s;
  position: relative;
  overflow: hidden;
  /* For preview image positioning */
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dz-file-drop-area img {
  width: 100%;
  max-width: 20rem;
  object-fit: contain;
}

.dz-upload-prompt {
  width: 100%;
}

.dz-file-drop-area.drag-over {
  border-color: #0d6efd;
  background-color: #e9f2ff;
}

.dz-file-drop-area .dz-upload-icon {
  width: 48px;
  height: 48px;
  fill: #adb5bd;
  /* Lighter icon color */
}

.dz-file-drop-area .dz-upload-text {
  margin-top: 1rem;
  color: #4f5359;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.dz-file-drop-area .dz-upload-hint {
  color: #7f838a;
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.dz-upload-rules {
  color: #6a7282;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* File Input Customization */
.dz-file-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dz-file-name-display {
  flex-grow: 1;
  height: calc(2rem + 1.2rem + 2px);
  padding: 1rem 1rem;
  border-radius: 0.625rem;
  border: 1px solid #dedede;
  background: #fff;
  color: #c7c8c9;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* Image Preview */
#dz-image-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Use contain to see the whole image */
  padding: 1rem;
  /* Add some padding around the preview */
  background-color: #f8f9fa;
  border-radius: 0.375rem;
}

/* form02 */

/* Toggle Switch Styles */
.dz-toggle-switch {
  display: flex;
  border: 1px solid #feefe6;
  background: #fff6f0;
  padding: 0.25rem 0.375rem;
  border-radius: 6.25rem;
}

.dz-toggle-switch .btn {
  border-radius: 6.25rem;
  background: #ff6000;
  padding: 0.9375rem 0 0.875rem 0;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* Inactive State */
.dz-toggle-switch .btn:not(.active) {
  background-color: transparent;
  color: #ffcba8;
  /* Muted gray */
}

/* Active State */
.dz-toggle-switch .btn.active {
  background-color: #ff6d00;
  /* Bright orange */
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
