/* Extra styles for the data-driven student pages */
[hidden] { display: none !important; }
.sidebar-link.is-soon { opacity: .55; cursor: default; }
.soon-tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #eef1ff; color: #3155f5; }
.status-badge.closed { background: #f2f4f7; color: #475467; }
.status-badge.closed .dot { background: #98a2b3; }
.empty-state { text-align: center; padding: 40px 20px; color: #667085; grid-column: 1 / -1; }
.empty-state i { font-size: 30px; color: #c9d3fb; margin-bottom: 10px; }
.empty-state h4 { margin: 0 0 6px; color: #101a43; font-size: 16px; }
.empty-state p { margin: 0 0 14px; font-size: 14px; }
.empty-state .btn { display: inline-block; }
.page-error { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; font-weight: 600; font-size: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-decoration: none; }
.btn-primary { background: #3155f5; color: #fff; }
.btn-primary:hover { background: #2441d6; }
.btn-primary:disabled { opacity: .6; cursor: default; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.opp-apply.is-applied { background: #f2f4f7; color: #475467; pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #101a43; color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .25s; z-index: 400; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.app-row-action { background: none; border: 0; cursor: pointer; font: inherit; }
/* Apply dialog */
.modal-overlay { position: fixed; inset: 0; background: rgba(16,26,67,.55); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 300; }
.modal-card { position: relative; background: #fff; border-radius: 18px; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; padding: 28px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f2f4f7; cursor: pointer; }
.modal-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; padding-right: 30px; }
.modal-head h2 { margin: 0 0 3px; font-size: 20px; color: #101a43; }
.modal-head p { margin: 0; color: #667085; font-size: 14px; }
.modal-facts { list-style: none; margin: 0 0 18px; padding: 14px 16px; background: #f6f8ff; border-radius: 12px; display: grid; gap: 8px; font-size: 14px; }
.modal-facts li { display: flex; justify-content: space-between; gap: 12px; }
.modal-facts span { color: #667085; }
.modal-card h4 { margin: 18px 0 8px; font-size: 15px; color: #101a43; }
.modal-card .optional { font-weight: 500; color: #667085; }
.modal-desc { white-space: pre-wrap; color: #475467; line-height: 1.65; font-size: 14.5px; margin: 0; }
.modal-card textarea { width: 100%; box-sizing: border-box; min-height: 100px; font: inherit; font-size: 14.5px; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px; resize: vertical; }
.modal-card textarea:focus { outline: none; border-color: #3155f5; box-shadow: 0 0 0 3px rgba(49,85,245,.12); }
.modal-actions { margin-top: 18px; }
.modal-error { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: #fef3f2; color: #b42318; font-size: 14px; font-weight: 600; }
.modal-applied { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #eef1ff; color: #3155f5; font-weight: 600; font-size: 14px; }
