/* Wella OS · Gaya isi aplikasi (Files, Terminal, Browser, Kontak, QR, Tentang) */

/* ===================== Terminal (GNOME Terminal / Ubuntu) ===================== */
.app-term .win-body { background: #300a24; color: #eee; }
.term-body { padding: 12px 14px; font-family: "Ubuntu Mono", "DejaVu Sans Mono", ui-monospace, monospace; font-size: 13px; line-height: 1.55; }
.term-body .ln { white-space: pre-wrap; word-break: break-word; }
.term-body .prompt { color: #4ade80; font-weight: 700; }
.term-body .dim { color: rgba(255,255,255,.55); }
.term-body .cmd { color: #fff; }
.term-body .hl { color: #ffd75e; }
.term-body .ok { color: #4ade80; }
.term-logo { color: #ff8a5c; font-weight: 700; letter-spacing: .5px; margin: 2px 0 6px; }
.term-inline { display: flex; align-items: center; }
.term-in {
  flex: 1; background: transparent; border: 0; outline: 0; color: #fff;
  font: inherit; min-width: 60px; caret-color: #fff;
}

/* ===================== Files (Nautilus) ===================== */
.files { display: flex; height: 100%; }
.files-side {
  flex: 0 0 210px; background: #f6f6f6; border-right: 1px solid #ddd;
  padding: 10px 8px; overflow-y: auto;
}
.fs-grp { font-size: 11px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .4px; padding: 10px 8px 5px; }
.fs-it {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  padding: 7px 9px; border-radius: 7px; font-size: 13px; color: #333;
}
.fs-it:hover { background: #ececec; }
.fs-it.on { background: #e2e2e2; font-weight: 700; }
.fs-ic { width: 18px; text-align: center; font-size: 14px; color: #666; }
.fl-tag { display: block; width: 100%; text-align: left; padding: 5px 9px 5px 36px; border-radius: 7px; font-size: 13px; color: #555; }
.fl-tag:hover { background: #ececec; }
.fl-tag.on { background: #e2e2e2; font-weight: 700; color: #222; }
.files-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.files-bar {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid #e4e4e4; background: #fff;
}
.files-path { font-weight: 700; font-size: 14px; }
.files-search {
  margin-left: auto; width: 220px; max-width: 45%;
  padding: 6px 12px; border-radius: 999px; border: 1px solid #ccc;
  background: #f4f4f4; font: inherit; font-size: 13px; outline: none;
}
.files-search:focus { border-color: #e95420; background: #fff; }
.files-view { flex: 1; overflow-y: auto; padding: 6px 0 12px; }
.home-folders { display: flex; gap: 14px; padding: 18px 16px 8px; flex-wrap: wrap; }
.home-folder {
  width: 150px; padding: 16px 12px; border-radius: 12px; background: #f4f4f4;
  border: 1px solid #e3e3e3; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  text-align: left;
}
.home-folder:hover { background: #ececec; border-color: #d5d5d5; }
.home-folder b { font-size: 14px; }
.home-folder span { font-size: 12px; color: #888; }
.hf-ic { width: 40px; height: 40px; border-radius: 10px; }
.hf-ic.doc { background: linear-gradient(135deg, #4a90d9, #2b6cb0); }
.hf-ic.vid { background: linear-gradient(135deg, #e95420, #c73e1d); }
.hf-ic.dl { background: linear-gradient(135deg, #38a169, #276749); }
.home-folder img.hf-ic { border-radius: 0; }
.files-note { padding: 8px 18px; color: #777; font-size: 13px; }
.fl-head {
  display: grid; grid-template-columns: 1fr 140px; gap: 8px;
  padding: 6px 16px; font-size: 11px; font-weight: 700; color: #999;
  text-transform: uppercase; letter-spacing: .4px;
}
.fl-row {
  display: grid; grid-template-columns: 1fr 140px; gap: 8px; align-items: center;
  padding: 7px 16px; color: #222; text-decoration: none; cursor: default;
  border-top: 1px solid #f0f0f0;
}
a.fl-row:hover, .fl-row.vid:hover { background: #f5f5f5; }
.fl-row.vid.sel { background: #fdeee7; }
.fl-ic { width: 22px; height: 22px; flex: 0 0 auto; }
.fl-ic.doc { background: #fff; border: 1.5px solid #bbb; border-radius: 3px; position: relative; }
.fl-ic.doc::after { content: ""; position: absolute; left: 4px; right: 4px; top: 5px; height: 2px; background: #bbb; box-shadow: 0 5px #bbb, 0 10px #bbb; }
.fl-row .fl-ic { grid-row: 1; grid-column: 1; justify-self: start; }
.fl-row .fl-nm { grid-row: 1; grid-column: 1; padding-left: 32px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-row .fl-c2 { grid-row: 1; grid-column: 2; color: #888; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-thumb { position: relative; width: 64px; height: 36px; flex: 0 0 auto; border-radius: 5px; overflow: hidden; background: #333; grid-row: 1; grid-column: 1; justify-self: start; }
.fl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fl-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.fl-row.vid .fl-nm { padding-left: 74px; }
.files-status { padding: 10px 16px; color: #999; font-size: 12px; }
.files-empty { text-align: center; color: #999; padding: 60px 20px; font-size: 14px; line-height: 1.7; }
.files-empty span { font-size: 12px; }

/* ===================== Browser (Firefox) ===================== */
.web-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: #f2f2f2; border-bottom: 1px solid #ddd;
}
.navs { display: flex; gap: 2px; }
.navs img { width: 26px; height: 26px; padding: 4px; border-radius: 6px; opacity: .75; }
.navs img.dis { opacity: .3; }
.web-url {
  flex: 1; padding: 7px 14px; border-radius: 999px; border: 1px solid #ccc;
  background: #fff; font: inherit; font-size: 13px; outline: none; text-align: center; color: #444;
}
.web-url:focus { border-color: #e95420; }
.acts { display: flex; gap: 2px; }
.acts img { width: 26px; height: 26px; padding: 4px; border-radius: 6px; opacity: .75; }
.web-tabbar {
  display: flex; gap: 4px; padding: 8px 10px 0; background: #e8e8e8;
  overflow-x: auto; border-bottom: 1px solid #d5d5d5;
}
.web-tab {
  display: flex; align-items: center; gap: 7px; padding: 8px 14px;
  background: #dcdcdc; border-radius: 9px 9px 0 0; font-size: 13px; color: #555;
  max-width: 260px; white-space: nowrap;
}
.web-tab.on { background: #fff; color: #222; font-weight: 600; }
.web-tab .fav { width: 16px; height: 16px; }
.web-tab .tab-title { overflow: hidden; text-overflow: ellipsis; }
.web-tab .tab-copy, .web-tab .tab-close { opacity: .5; font-size: 14px; padding: 0 2px; }
.web-tab .tab-copy:hover, .web-tab .tab-close:hover { opacity: 1; }
.web-tab .tab-copy.copied { opacity: 1; color: #2f9e44; }
.web-page { background: #fff; }
.web-pane { min-height: 200px; }
.case-preview { width: 100%; height: calc(100vh - 220px); min-height: 480px; border: 0; display: block; background: #fff; }

/* Studi kasus */
.cs-site { padding: 22px 26px 34px; max-width: 980px; margin: 0 auto; }
.cs-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.cs-nav img { width: 28px; height: 28px; }
.cs-nav .wm { font-weight: 900; font-size: 17px; }
.cs-nav .x { font-size: 20px; color: #999; }
.cs-nav .by { font-weight: 700; }
.cs-pill {
  margin-left: auto; background: #fdeee7; color: #c73e1d; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.cs-h { font-size: 30px; line-height: 1.25; font-weight: 900; max-width: 640px; }
.cs-h em { font-style: normal; color: #e95420; }
.cs-sub { color: #777; margin: 10px 0 22px; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.cs-card { display: block; text-decoration: none; color: #222; border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden; background: #fff; }
.cs-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); border-color: #ddd; }
.cs-card .cov { display: block; aspect-ratio: 16/9; overflow: hidden; background: #eee; }
.cs-card .cov img { width: 100%; height: 100%; object-fit: cover; }
.cs-row { display: flex; align-items: center; gap: 8px; padding: 11px 13px; }
.cs-idx { font-size: 11px; font-weight: 800; color: #e95420; letter-spacing: .4px; }
.cs-row .nm { flex: 1; font-size: 13px; font-weight: 600; line-height: 1.35; }
.cs-go { color: #999; }

/* ===================== Kontak ===================== */
.contacts { height: 100%; display: flex; }
.ct-detail { flex: 1; overflow-y: auto; padding: 22px; text-align: center; }
.ct-card .big-avatar {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 6px auto 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.ct-card h3 { font-size: 22px; }
.ct-card .role { color: #777; margin: 4px 0 16px; font-size: 13px; }
.ct-actions { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.ct-action {
  width: 46px; height: 46px; border-radius: 50%; background: #f0f0f0;
  display: flex; align-items: center; justify-content: center;
}
.ct-action:hover { background: #e4e4e4; }
.ct-action img { width: 22px; height: 22px; }
.ct-group { text-align: left; max-width: 420px; margin: 0 auto; background: #f7f7f7; border-radius: 12px; padding: 6px 16px; }
.ct-group .fld { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e8e8e8; }
.ct-group .fld:last-child { border-bottom: 0; }
.ct-group .k { flex: 0 0 64px; color: #999; font-size: 13px; }
.ct-group .v { flex: 1; font-size: 13px; line-height: 1.5; }
.ct-call-screen { padding: 30px 10px; }
.ct-call-orb { position: relative; width: 120px; height: 120px; margin: 0 auto 18px; }
.ct-call-orb span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #e95420; opacity: 0; animation: ct-ring 2s ease-out infinite;
}
.ct-call-orb span:nth-child(2) { animation-delay: 1s; }
@keyframes ct-ring { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.ct-call-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; position: relative; }
.ct-call-chip { font-size: 12px; color: #999; }
.ct-call-name { font-size: 22px; margin: 4px 0; }
.ct-call-status { color: #777; margin-bottom: 26px; }
.ct-hang {
  width: 58px; height: 58px; border-radius: 50%; background: #e01b24;
  display: inline-flex; align-items: center; justify-content: center;
}
.ct-hang img { width: 26px; height: 26px; filter: brightness(0) invert(1); transform: rotate(135deg); }
.ct-call-screen.ended .ct-call-orb span { animation: none; opacity: 0; }

/* ===================== QR & Tentang ===================== */
.qr-win { padding: 22px 18px; text-align: center; }
.qr-img { width: 220px; height: 220px; margin: 0 auto 14px; object-fit: contain; }
.qr-win p { font-size: 13px; color: #666; line-height: 1.5; }
.about-win { padding: 26px 22px; text-align: center; }
.about-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.about-win h3 { font-size: 20px; }
.about-ver { color: #e95420; font-weight: 700; font-size: 13px; margin: 4px 0 12px; }
.about-win p { font-size: 13px; line-height: 1.6; color: #555; margin-bottom: 8px; }
.about-win .about-dim { color: #999; font-size: 12px; }
