/* ==========================================================================
   STYLING DIRECTORY TENDIK (SINGLE-LINE / HORIZONTAL FORMAT)
   File Path: /assets/css/tendik-style.css
   ========================================================================== */

/* --- PAGE & HERO SECTION --- */
.tendik-page-wrapper { background-color: #f8fafc; padding-bottom: 50px; }
.tendik-hero { background: linear-gradient(135deg, #0F2C59 0%, #1e40af 100%); color: #ffffff; padding: 45px 0; text-align: center; margin-bottom: 30px; }
.tendik-title { font-size: 32px; font-weight: 700; margin-bottom: 8px; color: #ffffff; }
.tendik-subtitle { font-size: 15px; opacity: 0.9; margin: 0; }

/* --- FILTER & SEARCH SECTION --- */
.tendik-filter-box { display: flex; flex-wrap: wrap; gap: 12px; background: #ffffff; padding: 20px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); margin-bottom: 30px; align-items: center; }
.filter-group { flex: 1; min-width: 180px; }
.search-group { flex: 2; min-width: 250px; position: relative; }
.search-group input { padding-left: 35px !important; }
.search-group .filter-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #94a3b8; z-index: 2; }
.filter-group input, .filter-group select { width: 100%; padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; outline: none; transition: all 0.2s ease; background-color: #fff; }
.filter-group input:focus, .filter-group select:focus { border-color: #0F2C59; box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.1); }
.view-toggle { display: flex; gap: 6px; }
.view-btn { padding: 9px 16px; border: 1px solid #cbd5e1; background: #ffffff; color: #334155; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s ease; }
.view-btn:hover, .view-btn.active { background: #0F2C59; color: #ffffff; border-color: #0F2C59; }

/* --- GRID LAYOUT & CARD TENDIK (MODERN NO-CLIP NIP) --- */
.tendik-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.tendik-card-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px 18px 16px; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.tendik-card-item:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(15, 44, 89, 0.12); border-color: #cbd5e1; }
.tendik-badge { position: absolute; top: 12px; right: 12px; background: #dcfce7; color: #15803d; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: 0.3px; }
.tendik-avatar-wrapper { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; margin-bottom: 12px; border: 3px solid #f1f5f9; background: #f8fafc; box-shadow: 0 4px 10px rgba(0,0,0,0.06); }
.tendik-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.tendik-info { width: 100%; display: flex; flex-direction: column; flex-grow: 1; }
.tendik-name { font-size: 15px; font-weight: 700; margin: 0 0 4px 0; line-height: 1.35; color: #0F2C59; }
.tendik-position { font-size: 13px; color: #059669; font-weight: 600; margin-bottom: 12px; min-height: 36px; display: flex; align-items: center; justify-content: center; line-height: 1.3; }
.tendik-details { width: 100%; border-top: 1px dashed #e2e8f0; padding-top: 10px; margin-top: auto; }
.tendik-unit { font-size: 12px; color: #64748b; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; font-weight: 500; }
.tendik-meta-box { background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.tendik-nip-row, .tendik-gol-row { display: flex; align-items: center; justify-content: space-between; font-size: 11px; width: 100%; }
.tendik-meta-box .lbl { font-weight: 700; color: #475569; min-width: 60px; }
.tendik-meta-box .val { font-family: monospace, SFMono-Regular, Consolas; color: #0f172a; font-weight: 600; background: #ffffff; padding: 2px 6px; border-radius: 4px; border: 1px solid #e2e8f0; word-break: break-all; white-space: nowrap; }

/* --- TABLE VIEW STYLING --- */
.tendik-table-responsive { overflow-x: auto; background: #ffffff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.tendik-table { width: 100%; border-collapse: collapse; }
.tendik-table th { background: #0F2C59; color: #ffffff; font-size: 13px; font-weight: 600; padding: 14px 16px; text-align: left; }
.tendik-table td { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid #e2e8f0; color: #334155; }
.tendik-table-name { font-weight: 600; color: #0F2C59; text-decoration: none; }
.tendik-table-badge { background: #f1f5f9; padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }