/* Mezun Daveti ekrani — prototipin renk ve form dilini izler. */

.invite-stats { margin-bottom: 22px; }

.invite-progress-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(16, 40, 68, .06);
  margin-bottom: 16px;
}
.invite-progress-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px; gap: 12px; flex-wrap: wrap;
}
.invite-progress-head strong { font-size: 15px; }
.invite-progress-head span { color: #5b6b7d; font-size: 14px; }

.invite-tiles {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.invite-tile {
  background: #fff; border-radius: 12px; padding: 16px 18px;
  box-shadow: 0 4px 16px rgba(16, 40, 68, .06);
  display: flex; flex-direction: column; gap: 4px;
  border-left: 3px solid #d7e2ee;
}
.invite-tile.good { border-left-color: #1c8a4c; }
.invite-tile.warn { border-left-color: #c98a1e; }
.invite-tile-value { font-size: 23px; font-weight: 700; letter-spacing: -.4px; }
.invite-tile-label { font-size: 12.5px; color: #5b6b7d; }

.invite-toolbar {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.invite-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.invite-actions { display: flex; gap: 10px; align-items: center; }
.invite-actions a { text-decoration: none; }

.invite-problem-toggle {
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: #34495e; white-space: nowrap;
}

.invite-mail-state {
  border-radius: 11px; padding: 13px 17px; font-size: 13.5px;
  line-height: 1.55; margin-bottom: 14px;
}
.invite-mail-state.off { background: #fdf4e3; border: 1px solid #f0dcb4; color: #7a5510; }
.invite-mail-state.on { background: #e9f7ee; border: 1px solid #bfe6cd; color: #1c6b39; }

.invite-table-shell {
  background: #fff; border-radius: 14px; overflow-x: auto;
  box-shadow: 0 4px 16px rgba(16, 40, 68, .06);
}
.invite-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 900px; }
.invite-table th {
  text-align: left; padding: 14px 16px; font-size: 12px;
  text-transform: uppercase; letter-spacing: .5px; color: #7c8b9c;
  border-bottom: 1px solid #e6edf4; white-space: nowrap;
}
.invite-table td { padding: 13px 16px; border-bottom: 1px solid #f0f4f8; vertical-align: top; }
.invite-table tr:last-child td { border-bottom: 0; }
.invite-table tr:hover td { background: #fafcfe; }
.invite-row-flagged td { background: #fffcf5; }
.invite-row-flagged:hover td { background: #fff8ea; }

.invite-row-actions-col { width: 190px; }

.invite-table td span { display: block; }
.invite-secondary { color: #7c8b9c; font-size: 12.5px; margin-top: 2px; }
.invite-missing { color: #b08a3c; font-size: 12.5px; font-style: italic; }
.invite-note { color: #96701c; font-size: 12px; margin-top: 4px; line-height: 1.45; }
.invite-contact span { word-break: break-word; }

.invite-badge {
  display: inline-block !important; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.invite-badge-pending { background: #eef2f7; color: #4c5c6d; }
.invite-badge-sent { background: #e6f0fa; color: #1f6fb2; }
.invite-badge-opened { background: #eae6fa; color: #5b3fa8; }
.invite-badge-completed { background: #e9f7ee; color: #1c6b39; }
.invite-badge-problem { background: #fdf0e3; color: #a3671a; }
.invite-badge-muted { background: #f2f2f4; color: #8a8a92; }

.invite-row-actions { white-space: nowrap; }
.invite-row-actions button {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; padding: 3px 0;
  color: #1f6fb2; font: inherit; font-size: 12.5px; cursor: pointer;
}
.invite-row-actions button:hover { text-decoration: underline; }

/* Satirdaki birincil eylem: davet tek tek buradan gonderilir. */
.invite-row-actions button.invite-send-one {
  width: auto; margin-bottom: 5px; padding: 5px 12px;
  border-radius: 7px; background: #1f6fb2; color: #fff; font-weight: 600;
}
.invite-row-actions button.invite-send-one:hover { background: #185a92; text-decoration: none; }
.invite-row-actions button.invite-send-one:disabled { background: #b9c8d6; cursor: progress; }

.invite-empty { text-align: center; padding: 40px; color: #7c8b9c; }

.invite-upload-summary {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px;
}
.invite-upload-summary div {
  background: #f4f7fb; border-radius: 10px; padding: 14px; text-align: center;
}
.invite-upload-summary strong { display: block; font-size: 21px; }
.invite-upload-summary span { font-size: 12px; color: #5b6b7d; }
.invite-upload-title { font-size: 14px; margin: 0 0 10px; }
.invite-upload-warnings {
  margin: 0; padding-left: 18px; max-height: 320px; overflow-y: auto;
  font-size: 13px; line-height: 1.6; color: #5b6b7d;
}

@media (max-width: 900px) {
  .invite-toolbar { flex-direction: column; }
  .invite-upload-summary { grid-template-columns: repeat(2, 1fr); }
}

/* Sadelestirilmis giris ekrani: tanitim metni ve rol secimi kaldirildi,
   sol panelde yalnizca marka kimligi kaliyor. */
.auth-visual {
  justify-content: center;
  gap: 26px;
}
.auth-visual .logo-wrap { margin: 0; }

/* Hesap islemleri: sifre degistirme kalibi ve yonetici sifirlama baglantisi */
.reset-link-button { margin-top: 12px; }

.reset-link-box {
  width: 100%; margin: 4px 0 16px; padding: 12px 14px;
  border: 1px solid #cfdae6; border-radius: 10px;
  background: #f7fafd; color: #16283d;
  font: inherit; font-size: 13px; line-height: 1.55;
  resize: vertical; word-break: break-all;
}
.reset-link-box:focus { outline: none; border-color: #1769aa; }

/* Sifre kalibindaki alanlar arasinda modal icinde nefes payi */
#passwordModal .group:last-of-type { margin-bottom: 8px; }

/* --- REVIZE 2026-08 Faz 1 --------------------------------------------- */

/* Anonim Aday Havuzu V2'ye kadar kapali (veri toplanmaya devam ediyor) */
.menu button[data-page="talent"],
#meetingRequestMenu,
#talent-page,
#meeting-requests-page { display: none !important; }

/* Modal alt eylem satiri: Sil + Kaydet */
.modal-footer-actions { display: flex; gap: 10px; margin-top: 6px; }
.modal-footer-actions .primary { flex: 1; margin-top: 0; }
.modal-delete-button {
  padding: 11px 18px; border: 1px solid #f1c6cb; border-radius: 9px;
  background: #fbeaec; color: #b83843; font-weight: 700; cursor: pointer;
}
.modal-delete-button:hover { background: #f7d9dd; }

/* Onay diyalogu */
.confirm-panel { max-width: 400px; text-align: center; }
.confirm-actions { display: flex; gap: 10px; margin-top: 18px; }
.confirm-actions button {
  flex: 1; padding: 11px; border: 0; border-radius: 9px;
  font-weight: 700; cursor: pointer;
}
.confirm-no { background: #eef1f5; color: #33404d; }
.confirm-no:hover { background: #e2e7ee; }
.confirm-yes { background: #b83843; color: #fff; }
.confirm-yes:hover { background: #a02f39; }

/* CV dosya onizlemesinde kaldirma dugmesi */
.cv-preview-row { display: flex; align-items: center; gap: 10px; }
.cv-file-remove {
  margin-left: auto; width: 26px; height: 26px; flex: 0 0 auto;
  border: 0; border-radius: 50%; background: #fbeaec; color: #b83843;
  font-size: 15px; font-weight: 800; line-height: 1; cursor: pointer;
}
.cv-file-remove:hover { background: #f7d9dd; }

/* Paylasim Onay kartinda ek gorseli */
.pending-post-card .post-attachment { margin-top: 12px; }
.pending-post-card .post-attachment img { max-width: 100%; border-radius: 10px; }

/* --- REVIZE 2026-08 Faz 2 --------------------------------------------- */

/* Kapak fotografi */
.linkedin-cover { position: relative; background-size: cover; background-position: center; }
.cover-edit-button {
  position: absolute; right: 14px; bottom: 12px; padding: 8px 14px;
  border-radius: 8px; background: rgba(255,255,255,.92); color: #1d2b3a;
  font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.cover-edit-button:hover { background: #fff; }

/* Kirpma araci */
.cropper-panel { max-width: 500px; }
.cropper-stage { display: flex; justify-content: center; background: #f2f5f9; border-radius: 10px; padding: 10px; }
#cropperCanvas { max-width: 100%; border-radius: 8px; cursor: grab; touch-action: none; }
#cropperCanvas:active { cursor: grabbing; }
.cropper-controls { margin-top: 14px; }
.cropper-controls input[type=range] { width: 100%; }

/* Coklu ek onizleme */
.attachment-multi-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.attachment-multi-item {
  position: relative; width: 96px; height: 96px; border-radius: 10px;
  overflow: hidden; border: 1px solid #dfe5ec; background: #f7f9fb;
}
.attachment-multi-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.attachment-multi-video, .attachment-multi-file {
  width: 100%; height: auto; min-height: 52px; display: flex; align-items: center;
  gap: 10px; padding: 10px 40px 10px 12px; font-size: 13px;
}
.attachment-item-remove {
  position: absolute; top: 6px; right: 6px; width: 24px; height: 24px;
  border: 0; border-radius: 50%; background: rgba(184,56,67,.92); color: #fff;
  font-size: 14px; font-weight: 800; line-height: 1; cursor: pointer;
}

/* Akista galeri + video */
.post-gallery { display: grid; gap: 6px; margin-top: 12px; border-radius: 12px; overflow: hidden; }
.post-gallery-2 { grid-template-columns: 1fr 1fr; }
.post-gallery-3 { grid-template-columns: 1fr 1fr 1fr; }
.post-gallery-4 { grid-template-columns: 1fr 1fr; }
.post-gallery a { display: block; aspect-ratio: 4 / 3; }
.post-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-video { width: 100%; max-height: 420px; border-radius: 12px; margin-top: 12px; background: #000; }

/* Sertifika belge eki */
.cert-file-button { display: inline-block; margin-top: 4px; }
.cert-file-preview { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 12px; border: 1px solid #dfe5ec; border-radius: 8px; background: #f7f9fb; font-size: 13px; }
.form-hint { color: #6b7887; font-weight: 400; font-size: 12px; }
/* Alanin altinda duran kisa aciklama (ör. Mevcut Kurum) */
.field-note { margin: 6px 0 0; font-size: 12px; line-height: 1.45; color: #6b7887; }

/* CV amac */
.cv-card-purpose { margin: 6px 0 0; padding: 10px 12px; border-left: 3px solid #1e3a5f; background: #f5f8fc; border-radius: 0 8px 8px 0; font-size: 13.5px; }

/* Kayit formu notu */
.form-note { font-size: 13px; color: #5c6877; margin: 4px 0 0; }

/* --- REVIZE 2026-08 Faz 3 --------------------------------------------- */

/* Menu rozetleri */
.menu-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 8px;
  border-radius: 999px; background: #d33f49; color: #fff;
  font-size: 11px; font-weight: 800; line-height: 1;
}

/* Ust cubuk + bildirim zili */
.topbar { display: flex; justify-content: space-between; align-items: flex-start; }
.topbar-actions { position: relative; }
.notify-bell {
  position: relative; border: 1px solid #dfe5ec; background: #fff;
  border-radius: 50%; width: 42px; height: 42px; cursor: pointer; font-size: 17px;
}
.notify-bell .menu-badge { position: absolute; top: -5px; right: -5px; margin: 0; }
.notify-panel {
  position: absolute; right: 0; top: 50px; width: 330px; max-height: 420px;
  overflow-y: auto; background: #fff; border: 1px solid #dfe5ec; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(20,35,55,.14); z-index: 60; padding: 6px;
}
.notify-item {
  display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left;
  padding: 10px 12px; border: 0; border-radius: 8px; background: transparent;
  cursor: pointer; font-size: 13.5px; line-height: 1.4;
}
.notify-item:hover { background: #f2f6fb; }
.notify-item.unread { background: #eef4fc; font-weight: 600; }
.notify-item small { color: #7a8794; }

/* Tepkiler */
/* .feed-post karti padding tasimiyor; kardes bloklar gibi 20px yan bosluk bizde */
.post-reactions { position: relative; display: flex; align-items: center; gap: 12px; margin: 12px 20px 14px; }
.reaction-main {
  border: 1px solid #dfe5ec; background: #fff; border-radius: 999px;
  padding: 7px 16px; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.reaction-main.active { background: #eaf1fb; border-color: #9fbde4; color: #1e3a5f; }
.reaction-palette {
  position: absolute; bottom: 42px; left: 0; display: flex; gap: 4px;
  background: #fff; border: 1px solid #dfe5ec; border-radius: 999px;
  padding: 6px 8px; box-shadow: 0 8px 22px rgba(20,35,55,.16); z-index: 40;
}
.reaction-palette button {
  border: 0; background: transparent; font-size: 21px; cursor: pointer;
  transition: transform .12s ease; line-height: 1; padding: 3px;
}
.reaction-palette button:hover { transform: scale(1.35); }
.reaction-summary { color: #5c6877; font-size: 13px; }

/* Yorumlar: foto + unvan */
.comment-item { display: flex; gap: 10px; }
.comment-avatar {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
  background: #dfe7f0; color: #33475e; display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 800;
}
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-body { flex: 1; min-width: 0; }
.comment-author-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.comment-headline { color: #7a8794; font-size: 12px; }

/* Mesajlar sayfasi */
.messages-layout {
  display: grid; grid-template-columns: 300px 1fr; gap: 16px;
  min-height: 520px; align-items: stretch;
}
.messages-list-pane { background: #fff; border: 1px solid #dfe5ec; border-radius: 14px; padding: 14px; overflow: hidden; }
.messages-list-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.messages-list-head h3 { margin: 0; }
.thread-list { display: flex; flex-direction: column; gap: 4px; max-height: 520px; overflow-y: auto; }
.thread-item {
  display: flex; gap: 10px; align-items: center; width: 100%; text-align: left;
  border: 0; background: transparent; border-radius: 10px; padding: 9px; cursor: pointer;
}
.thread-item:hover, .thread-item.active { background: #f0f5fb; }
.thread-avatar {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: #dfe7f0; color: #33475e; display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 800;
}
.thread-avatar img { width: 100%; height: 100%; object-fit: cover; }
.thread-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.thread-item-top { display: flex; justify-content: space-between; gap: 8px; }
.thread-item-top small { color: #8a95a1; flex: 0 0 auto; }
.thread-item-last { color: #6b7887; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.messages-thread-pane {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid #dfe5ec; border-radius: 14px; overflow: hidden;
}
.thread-header { display: flex; gap: 10px; align-items: center; padding: 13px 16px; border-bottom: 1px solid #e8edf3; }
.thread-header span { display: block; color: #7a8794; font-size: 12.5px; }
.thread-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 320px; max-height: 480px; }
.thread-message { max-width: 72%; align-self: flex-start; background: #f1f4f8; border-radius: 14px 14px 14px 4px; padding: 9px 13px; }
.thread-message.mine { align-self: flex-end; background: #e3edfb; border-radius: 14px 14px 4px 14px; }
.thread-message-content { display: block; white-space: pre-wrap; word-break: break-word; font-size: 14px; }
.thread-message small { display: block; margin-top: 3px; color: #8a95a1; font-size: 11px; text-align: right; }
.thread-form { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid #e8edf3; }
.thread-form input { flex: 1; border: 1px solid #dfe5ec; border-radius: 999px; padding: 10px 16px; font-size: 14px; }
.thread-form .primary { margin: 0; padding: 10px 22px; }
.thread-empty { color: #7a8794; padding: 24px 14px; text-align: center; font-size: 13.5px; }
.thread-back {
  display: none; border: 1px solid #dfe5ec; background: #fff; border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; font-size: 16px; flex: 0 0 auto;
}
@media (max-width: 860px) {
  .messages-layout { grid-template-columns: 1fr; }
  /* Mobilde tek panel: sohbet acikken liste gizlenir, geri okuyla donulur */
  .messages-layout.thread-open .messages-list-pane { display: none; }
  .messages-layout.thread-open .thread-back { display: inline-flex; align-items: center; justify-content: center; }
  .thread-messages { max-height: 55vh; min-height: 260px; }
  body.page-messages .feedback-fab { display: none; }
}

/* Yeni mesaj modali */
.new-message-results { margin-top: 12px; max-height: 380px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.new-message-row {
  display: flex; gap: 10px; align-items: center; width: 100%; text-align: left;
  border: 0; background: transparent; border-radius: 10px; padding: 9px; cursor: pointer;
}
.new-message-row:hover { background: #f0f5fb; }
.new-message-info { display: flex; flex-direction: column; min-width: 0; }
.new-message-info span { color: #6b7887; font-size: 12.5px; }
.new-message-info small { color: #8a95a1; font-size: 11.5px; }

/* Geri bildirim */
.feedback-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  border: 0; border-radius: 999px; padding: 13px 22px; cursor: pointer;
  background: #1e3a5f; color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 22px rgba(20,35,55,.28);
}
.feedback-fab:hover { background: #16304f; }
.feedback-admin-list { display: flex; flex-direction: column; gap: 14px; }
.feedback-card { background: #fff; border: 1px solid #dfe5ec; border-radius: 14px; padding: 16px 18px; }
.feedback-card.unread { border-color: #9fbde4; background: #f7fafd; }
.feedback-card-head { display: flex; gap: 10px; align-items: center; }
.feedback-card-person { flex: 1; min-width: 0; }
.feedback-card-person span { display: block; color: #7a8794; font-size: 12.5px; }
.feedback-card-content { margin: 12px 0 0; white-space: pre-wrap; line-height: 1.55; }
.feedback-card-image { max-width: 320px; max-height: 220px; border-radius: 10px; margin-top: 10px; border: 1px solid #e6ebf1; }

/* Yorum sayisi tepki satirinin saginda ("Yorum Yap" dugmesi kaldirildi) */
.reaction-comments { margin-left: auto; color: #5c6877; font-size: 13px; }
