/* --- Tükenmez Kalem Standard Layout Styles --- */

/* ÜST MENÜ (NAVBAR) */
#teacherNav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
  background: rgba(253, 251, 247, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6%;
  height: 60px;
}

.nav-logo {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1C2330 !important; /* Solid Ink color */
  text-decoration: none;
  transition: 0.2s;
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent) !important;
  opacity: 1 !important;
}

/* Profil Dropdown */
.t-profile-wrap {
  display: flex; /* Changed from none to handle visibility via JS toggle of content if needed, but usually kept none until auth check */
  align-items: center;
  position: relative;
}
/* By default hide both, auth-logic.js will show the correct one */
#authLinks, #profileWrap { display: none; }

.t-avatar {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  border: 2px solid var(--border);
  transition: 0.2s;
}

.t-avatar:hover {
  transform: scale(1.08);
  border-color: var(--accent);
}

.t-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 200px;
  margin-top: 12px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  display: none;
  z-index: 11000;
  overflow: hidden;
}

.t-dropdown.active {
  display: block;
}

.t-drop-item {
  padding: 14px 20px;
  font-size: 12px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.t-drop-item:hover {
  background: var(--slate);
  color: var(--accent);
}

/* ALT MENÜ (FOOTER) */
footer {
  background: var(--white);
  color: var(--muted);
  padding: 40px 6%;
  font-size: 0.8rem;
  font-weight: 300;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.footer-brand {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--ink);
  margin-bottom: 0;
}

.footer-brand span {
  color: var(--accent);
}

.footer-tagline {
  display: none;
}

.footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer-nav a {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-decoration: none;
  transition: 0.3s;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1120px;
  margin: 20px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--slate);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.6;
}

@media (max-width: 1024px) {
  nav { padding: 0 4%; }
  .nav-right { gap: 15px; }
  .nav-link { font-size: 9px; letter-spacing: 1px; }
}

@media (max-width: 768px) {
  .nav-logo { font-size: 14px; }
  .nav-right { gap: 10px; }
  .nav-link { font-size: 8px; letter-spacing: 0.5px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-nav { justify-content: center; margin-top: 30px; flex-wrap: wrap; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}

/* Modals & Choice */
.modal-overlay { position: fixed; inset: 0; background: rgba(28, 35, 48, 0.85); display: none; align-items: center; justify-content: center; z-index: 30000; backdrop-filter: blur(10px); }
.modal-overlay.active { display: flex; }
.modal-content { background: var(--paper); padding: 40px; border-radius: 20px; max-width: 500px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.choice-btn { background: white; border: 1px solid var(--border); padding: 24px; border-radius: 12px; text-decoration: none; display: block; margin-bottom: 12px; transition: 0.3s; text-align: left; }
.choice-btn:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.choice-label { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.choice-subtext { font-size: 0.85rem; color: var(--muted); }
