/* Infitime Space - Global Styles & Colorful Theme (Century Gothic) */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; }
body, html { width: 100%; height: 100%; background: #f7f8fa; color: #2d3436; overflow: hidden; }

#app { display: flex; height: 100vh; width: 100vw; }

/* Sidebar Navigasi */
aside { width: 280px; background: #ffffff; border-right: 1px solid #eaeaea; display: flex; flex-direction: column; }
.sidebar-brand { padding: 22px; font-size: 16px; font-weight: 700; border-bottom: 1px solid #eaeaea; display: flex; align-items: center; gap: 12px; }
.sidebar-brand img { width: 32px; height: 32px; object-fit: contain; }
.sidebar-menu { list-style: none; padding: 20px 15px; flex-grow: 1; display: flex; flex-direction: column; gap: 6px; }
.sidebar-menu li { padding: 12px 16px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; color: #636e72; transition: all 0.2s ease; }
.sidebar-menu li:hover, .sidebar-menu li.active { background: #0984e3; color: #ffffff; box-shadow: 0 4px 12px rgba(9, 132, 227, 0.2); }

/* Main Workspace */
main { flex-grow: 1; display: flex; flex-direction: column; height: 100vh; overflow: hidden; background: #fafbfc; }
header { height: 65px; background: #ffffff; border-bottom: 1px solid #eaeaea; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; }
.breadcrumb { font-size: 16px; font-weight: 700; color: #2d3436; }
.user-profile { font-size: 13px; font-weight: 600; color: #2d3436; background: #dfe6e9; padding: 6px 14px; border-radius: 20px; }

/* Konten Halaman */
.content-view { flex-grow: 1; overflow-y: auto; padding: 30px; display: none; }
.content-view.active { display: flex; flex-direction: column; }

/* Apple Notes + Freeform Colorful Grid */
.notes-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.notes-header h2 { font-size: 22px; font-weight: 700; color: #2d3436; }
.btn-primary { background: #0984e3; color: #fff; border: none; padding: 10px 18px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 12px rgba(9, 132, 227, 0.2); }
.btn-primary:hover { background: #74b9ff; }

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.project-card { background: #fff; border-radius: 12px; padding: 22px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid rgba(0,0,0,0.04); position: relative; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }

/* Varian Warna Warni ala Apple Notes */
.card-yellow { background: linear-gradient(135deg, #fff9db 0%, #fff3bf 100%); border-left: 5px solid #f59f00; }
.card-blue { background: linear-gradient(135deg, #e7f5ff 0%, #d0ebff 100%); border-left: 5px solid #1971c2; }
.card-pink { background: linear-gradient(135deg, #fff0f6 0%, #ffdeeb 100%); border-left: 5px solid #c2255c; }
.card-green { background: linear-gradient(135deg, #ebfbee 0%, #d8f5a2 100%); border-left: 5px solid #2b8a3e; }

.project-card h3 { font-size: 16px; margin-bottom: 8px; color: #212529; font-weight: 700; }
.project-card p { font-size: 13px; color: #495057; margin-bottom: 15px; line-height: 1.4; }
.project-meta { font-size: 11px; font-weight: 600; color: #868e96; text-transform: uppercase; letter-spacing: 0.5px; }

/* Canvas Freeform */
#board-container { flex-grow: 1; position: relative; background: #ffffff; overflow: hidden; cursor: crosshair; }
.board-toolbar { position: absolute; top: 20px; left: 20px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); padding: 10px 18px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); display: flex; gap: 12px; align-items: center; z-index: 5; border: 1px solid #eaeaea; }
button, input { padding: 6px 12px; border: 1px solid #dfe6e9; border-radius: 6px; cursor: pointer; background: #fff; font-size: 13px; font-weight: 600; }
canvas { display: block; background: #ffffff; }
