* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

.dw-hash-wrapper { max-width: 1000px; margin: auto; padding: 50px 15px; font-family: 'Inter', sans-serif; }

/* 🚀 PREMIUM HOVER EFFECT */
.dw-hash-card { background: #fff; padding: 35px; border-radius: 24px; border: 1px solid #e2e8f0; box-shadow: 0 15px 40px rgba(0,0,0,0.04); transition: 0.3s ease-in-out; }
.dw-hash-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(37, 99, 235, 0.12); border-color: #bfdbfe; }

/* HEADER */
.dw-hash-header { text-align: center; margin-bottom: 35px; }
.dw-badge { background: #eff6ff; color: #2563eb; padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 15px; border: 1px solid #bfdbfe; }
.dw-hash-header h2 { font-size: 34px; font-weight: 800; color: #0f172a; margin: 0 0 10px 0; }
.dw-hash-header p { color: #64748b; font-size: 16px; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* COLUMN HEADERS */
.dw-col-header { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: #0f172a; padding: 0 5px; margin-bottom: 15px;}
.dw-col-header i { color: #2563eb; margin-right: 5px; }

/* INPUT SECTION */
.dw-hash-input-section textarea { width: 100%; height: 120px; padding: 20px; border-radius: 16px; border: 2px solid #e2e8f0; background: #f8fafc; font-size: 16px; color: #334155; resize: none; outline: none; font-family: 'Inter', sans-serif; transition: 0.3s; margin-bottom: 15px;}
.dw-hash-input-section textarea:focus { border-color: #2563eb; background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }

/* OPTIONS (RADIO) */
.dw-hash-options { display: flex; gap: 15px; background: #f8fafc; padding: 10px; border-radius: 12px; border: 1px solid #e2e8f0; justify-content: center; flex-wrap: wrap;}
.dw-radio { cursor: pointer; position: relative; }
.dw-radio input { display: none; }
.dw-radio span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #475569; transition: 0.3s; }
.dw-radio input:checked + span { background: #fff; color: #2563eb; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 1px solid #e2e8f0;}

.dw-divider { border: 0; height: 1px; background: #e2e8f0; margin: 30px 0; }

/* HASH OUTPUT ROWS (THE DASHBOARD) */
.dw-hash-dashboard { display: flex; flex-direction: column; gap: 15px; }
.hash-row { display: flex; align-items: center; background: #f8fafc; padding: 10px 15px; border-radius: 14px; border: 1px solid #e2e8f0; transition: 0.3s; }
.hash-row:hover { border-color: #bfdbfe; background: #eff6ff; box-shadow: 0 5px 15px rgba(37,99,235,0.05); }
.hash-label { width: 140px; font-weight: 800; color: #0f172a; font-size: 15px; display: flex; flex-direction: column; }
.hash-bits { font-size: 11px; color: #64748b; font-weight: 600; }
.hash-row input { flex: 1; border: none; background: transparent; font-family: monospace; font-size: 14px; color: #334155; outline: none; padding: 0 15px; text-overflow: ellipsis; }
.copy-btn { background: #fff; border: 1px solid #e2e8f0; }
.copy-btn:hover { background: #2563eb; color: #fff; border-color: #2563eb; }

/* BUTTONS */
.icon-btn { background: #e2e8f0; border: none; width: 35px; height: 35px; border-radius: 8px; cursor: pointer; color: #475569; transition: 0.3s; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.icon-btn:hover { background: #cbd5e1; color: #0f172a; }

/* TOAST */
.dw-toast { visibility: hidden; min-width: 250px; background-color: #10b981; color: #fff; text-align: center; border-radius: 10px; padding: 16px; position: fixed; z-index: 1000; left: 50%; bottom: 30px; transform: translateX(-50%); font-weight: 600; box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3); opacity: 0; transition: opacity 0.3s, bottom 0.3s; }
.dw-toast.show { visibility: visible; opacity: 1; bottom: 50px; }

/* ===============================
   🔥 BULLETPROOF MEDIA QUERIES
================================ */
@media (max-width: 768px) {
    .dw-hash-wrapper { padding: 30px 15px; }
    .dw-hash-header h2 { font-size: 28px; }
    .hash-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 15px; }
    .hash-label { width: 100%; flex-direction: row; gap: 10px; align-items: center; border-bottom: 1px solid #e2e8f0; padding-bottom: 8px; }
    .hash-row input { width: 100%; padding: 5px 0; word-break: break-all; }
    .copy-btn { align-self: flex-end; }
}
@media (max-width: 576px) {
    .dw-hash-card { padding: 25px 15px; }
    .dw-hash-options { flex-direction: column; width: 100%; }
    .dw-radio { width: 100%; }
    .dw-radio span { width: 100%; justify-content: center; }
}