/* css/style.css */
:root {
    --kalsi-blue: #0c4ca3;
    --kalsi-green: #21b24b;
    --kalsi-dark: #08336e;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --border: #e5e7eb;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
}

/* Typography & Utilities */
h1, h2, h3 { color: var(--text-main); font-weight: 700; margin-bottom: 0.5rem; }
a { text-decoration: none; color: var(--kalsi-blue); transition: 0.2s; }
a:hover { color: var(--kalsi-green); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.badge {
    background: #e0f2fe; color: var(--kalsi-blue); 
    padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 600;
}

/* Header */
header { background-color: var(--kalsi-blue); padding: 1rem 0; color: white; }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 40px; display: block; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; cursor: pointer; border: none; font-size: 1rem;
}
.btn-primary { background-color: var(--kalsi-green); color: white; }
.btn-primary:hover { background-color: #1a943d; color: white; }
.btn-outline { background-color: transparent; border: 2px solid var(--white); color: white; }
.btn-outline:hover { background-color: rgba(255,255,255,0.1); color: white; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-icon { background: none; border: none; cursor: pointer; color: white; padding: 8px; }

/* Landing Page Hero */
.hero { background-color: var(--kalsi-blue); color: white; padding: 4rem 0 6rem; text-align: center; }
.hero h1 { color: white; font-size: 2.5rem; }
.hero p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; }

/* Access Form Section */
.access-section { margin-top: -3rem; padding-bottom: 4rem; }
.card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; border: 1px solid var(--border); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group textarea {
    width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit;
}
.checkbox-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.checkbox-item { display: flex; align-items: center; gap: 0.5rem; }

/* Hub Layout */
.hub-controls { display: flex; gap: 1rem; align-items: center; }
.search-box {
    background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem; border-radius: var(--radius); color: white;
}
.search-box::placeholder { color: rgba(255,255,255,0.7); }

.section-title { 
    display: flex; justify-content: space-between; align-items: center; 
    margin: 2rem 0 1rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; 
}

/* Grids */
.grid-folders {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem;
}
.folder-card {
    background: white; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border);
    transition: transform 0.2s; display: flex; flex-direction: column; gap: 0.5rem;
}
.folder-card:hover { transform: translateY(-2px); border-color: var(--kalsi-blue); }
.folder-icon { width: 40px; height: 40px; background: #e0f2fe; color: var(--kalsi-blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }

.grid-files {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem;
}
.file-card {
    background: white; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden;
}
.file-thumb { height: 140px; background: #e5e7eb; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-details { padding: 1rem; }
.file-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; display: flex; justify-content: space-between; }

/* Helpers */
.hidden { display: none; }
.success-message { background: #dcfce7; color: #166534; padding: 1rem; border-radius: var(--radius); text-align: center; }
.error-message { background: #fee2e2; color: #991b1b; padding: 1rem; border-radius: var(--radius); text-align: center; }

@media (max-width: 768px) {
    .hero h1 { font-size: 1.75rem; }
    .hero-actions { flex-direction: column; }
    header .container { flex-direction: column; gap: 1rem; }
}
.staff-note {
  font-size: 12px;
  line-height: 1.4;
  background: #f4f6f8;
  border-left: 4px solid #2bb24c; /* green accent */
  padding: 10px 12px;
  margin-bottom: 16px;
  color: #333;
}
.staff-note strong {
  font-weight: 700;
}
