/**
 * Modern Elegant jDownloads Buttons
 * Updated by ChatGPT Assistant (2025)
 * Clean Material-style with smooth hover and subtle shadows
 */

/* --- BASE STYLE --- */
.jdbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: white !important;
  transition: all 0.25s ease;
  border: none;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  background: #1976d2; /* Default blue */
}

.jdbutton:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

.jdbutton:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- SIZE VARIANTS --- */
.jbigrounded {
  border-radius: 30px;
}

.jmedium {
  font-size: 0.9rem;
  padding: 8px 16px;
}

.jsmall {
  font-size: 0.8rem;
  padding: 6px 12px;
}

/* --- STATUS TAGS (NEW / HOT / UPDATED) --- */
.jstatus {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  color: #fff;
  margin-left: 6px;
}

/* --- COLOR VARIANTS --- */

/* Default Blue */
.jblue {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}
.jblue:hover {
  background: linear-gradient(135deg, #42a5f5, #1565c0);
}

/* Green */
.jgreen {
  background: linear-gradient(135deg, #43a047, #2e7d32);
}
.jgreen:hover {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
}

/* Red */
.jred {
  background: linear-gradient(135deg, #e53935, #c62828);
}
.jred:hover {
  background: linear-gradient(135deg, #ef5350, #c62828);
}

/* Orange */
.jorange {
  background: linear-gradient(135deg, #fb8c00, #ef6c00);
}
.jorange:hover {
  background: linear-gradient(135deg, #ffa726, #f57c00);
}

/* Gray */
.jgray {
  background: linear-gradient(135deg, #9e9e9e, #616161);
}
.jgray:hover {
  background: linear-gradient(135deg, #bdbdbd, #424242);
}

/* Black */
.jblack {
  background: linear-gradient(135deg, #333, #000);
}
.jblack:hover {
  background: linear-gradient(135deg, #444, #000);
}

/* White (outline style) */
.jwhite {
  background: #fff;
  color: #333 !important;
  border: 1px solid #ccc;
  box-shadow: none;
}
.jwhite:hover {
  background: #f7f7f7;
}

/* Pink */
.jpink {
  background: linear-gradient(135deg, #f06292, #e91e63);
}
.jpink:hover {
  background: linear-gradient(135deg, #f48fb1, #c2185b);
}

/* Rosy */
.jrosy {
  background: linear-gradient(135deg, #f48fb1, #ad1457);
}
.jrosy:hover {
  background: linear-gradient(135deg, #f06292, #880e4f);
}

/* --- STATUS LABELS COLORS --- */
.jstatus.new {
  background: #43a047;
}
.jstatus.hot {
  background: #ef6c00;
}
.jstatus.updated {
  background: #0288d1;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .jdbutton {
    width: 100%;
    justify-content: center;
  }
}
/**
 * jDownloads Buttons with Font Awesome Icons
 * Compatible with Font Awesome 5 or 6
 * Author: ChatGPT Assistant, 2025
 */

/* Tombol umum (sudah ada dari versi modern sebelumnya) */
.jdbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: white !important;
  transition: all 0.25s ease;
  border: none;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  background: #1976d2;
}

.jdbutton i {
  font-size: 1rem;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.jdbutton:hover i {
  transform: scale(1.1);
}

/* Warna tombol (sama seperti sebelumnya, dipersingkat di sini) */
.jblue { background: linear-gradient(135deg, #2196f3, #1976d2); }
.jgreen { background: linear-gradient(135deg, #43a047, #2e7d32); }
.jred { background: linear-gradient(135deg, #e53935, #c62828); }
.jorange { background: linear-gradient(135deg, #fb8c00, #ef6c00); }
.jgray { background: linear-gradient(135deg, #9e9e9e, #616161); }

/* Efek hover */
.jdbutton:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

/* Tambahan efek aktif */
.jdbutton:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Untuk tampilan responsif */
@media (max-width: 768px) {
  .jdbutton {
    width: 100%;
  }
}