/* =============================================
   LANDING PAGE STYLES (Clipping Magic Style)
   ============================================= */

.main-content {
  padding: 40px 0 80px;
  background-color: #ffffff;
}

.hero-section {
  text-align: left;
  margin-bottom: 48px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 28px;
}

/* UPLOAD DUAL BOX */
.upload-dual-box {
  display: grid;
  grid-template-columns: 1fr 240px;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
}

.upload-drag-area {
  border: 2px dashed #0066ff;
  border-right: none;
  border-radius: 4px 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  cursor: pointer;
  transition: var(--transition);
}

.upload-drag-area:hover,
.upload-drag-area.drag-over {
  background-color: #f0f7ff;
}

.upload-drag-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #0066ff;
  text-transform: uppercase;
}

.upload-btn-area {
  background-color: #0066ff;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-main-btn {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.upload-main-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.upload-shortcut-note {
  text-align: right;
  font-size: 11px;
  font-weight: 600;
  color: #0066ff;
  letter-spacing: 0.8px;
}

.upload-shortcut-note a {
  color: #0066ff;
  text-decoration: underline;
}

.upload-shortcut-note kbd {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid #0066ff;
  border-radius: 3px;
  font-family: inherit;
  font-size: 10px;
  margin: 0 2px;
}

/* GALLERY SECTION */
.gallery-section {
  border-top: 1px solid #e9ecef;
  padding-top: 32px;
  margin-top: 32px;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.gallery-title {
  font-size: 28px;
  font-weight: 700;
  color: #212529;
}

.gallery-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #ced4da;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 34px;
}

.search-box input {
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 13px;
  width: 200px;
}

.btn-search {
  background: #0066ff;
  border: none;
  color: white;
  width: 36px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-delete-bulk {
  background: #0066ff;
  border: none;
  color: white;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* IMAGES GRID */
.images-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.image-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.image-card:hover {
  border-color: #ced4da;
  box-shadow: var(--shadow-sm);
}

.image-card-preview {
  height: 180px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.image-card-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.image-card-footer {
  padding: 10px 12px;
  border-top: 1px solid #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.image-card-name {
  color: #6c757d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.image-card-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6c757d;
}

.image-card-btn {
  background: transparent;
  border: none;
  color: #6c757d;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.image-card-btn:hover {
  color: #0066ff;
}

@media (max-width: 900px) {
  .upload-dual-box {
    grid-template-columns: 1fr;
    height: auto;
  }
  .upload-drag-area {
    height: 120px;
    border-right: 2px dashed #0066ff;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
  }
  .upload-btn-area {
    height: 54px;
    border-radius: 0 0 4px 4px;
  }
  .images-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
