:root {
  --primary-color: #8e44ad;
  --primary-darker: #732d91;
  --secondary-color: #3498db;
  --secondary-darker: #2980b9;
  --success-color: #2ecc71;
  --success-darker: #27ae60;
  --warning-color: #f39c12;
  --error-color: #e74c3c;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-color: #34495e;
  --text-light: #7f8c8d;
  --gray-border: #dfe4ea;
  --gray-light: #ecf0f1;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --border-radius: 10px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

body {
  background-color: var(--light-bg);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 960px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px 40px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.view {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.view.active {
  display: block;
}

.text-center {
  text-align: center;
}

.text-danger {
  color: var(--error-color);
}

.text-success {
  color: var(--success-color);
}

.text-light {
  color: var(--text-light);
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.d-flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.w-100 {
  width: 100%;
}

.logo {
  display: block;
  margin: 0 auto 25px;
  max-width: 80px;
  border-radius: 50%;
}

h1 {
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 2rem;
  color: var(--primary-color);
}

h2 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.7rem;
}

h3 {
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--primary-darker);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 0.7rem;
  text-align: left;
}

h4 {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 0.8rem;
  text-align: left;
}

.input-group {
  margin-bottom: 1.2rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-light);
}
.input-group input[type="text"],
.input-group input[type="password"],
.input-group input[type="date"],
.input-group input[type="number"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
  background-color: #fdfdff;
}
.input-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
  background-color: #fdfdff;
}

.input-group input:focus {
  border-color: var(--primary-color);
}

.input-group select:focus {
  border-color: var(--primary-color);
}

select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238e44ad' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  background-color: var(--primary-color);
  color: var(--white);
}

.btn:hover {
  background-color: var(--primary-darker);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn:disabled {
  background-color: var(--gray-light);
  color: var(--text-light);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-darker);
}

.btn-success {
  background-color: var(--success-color);
  color: var(--white);
}

.btn-success:hover {
  background-color: var(--success-darker);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.9rem;
}

.login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.login-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.welcome-message {
  font-size: 1.2rem;
  color: var(--text-light);
}

.welcome-message strong {
  color: var(--primary-darker);
  font-weight: 600;
}

.dashboard-section {
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  border-top: 4px solid var(--primary-color);
}

.statistics-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  text-align: center;
}

.statistics-summary > div {
  background-color: var(--light-bg);
  padding: 15px;
  border-radius: 8px;
}

.statistics-summary strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.statistics-summary span {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color);
}

.statistics-summary span.stat-correct {
  color: var(--success-darker);
}

.statistics-summary span.stat-incorrect {
  color: var(--error-color);
}

.dashboard-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-border);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

#select-content-modal {
  z-index: 9999 !important;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--white);
  padding: 25px 30px;
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  margin-bottom: 0;
  text-align: left;
  font-size: 1.5rem;
  color: var(--text-color);
}

.modal-header h2 i {
  margin-right: 10px;
  color: var(--primary-color);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-light);
}

.close-btn:hover {
  color: var(--error-color);
}

.modal-actions {
  text-align: right;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.badge-modal-body {
  padding: 10px 0;
}

.badge-modal-main {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.badge-modal-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.badge-modal-details p {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
}

.badge-modal-details p strong {
  font-weight: 600;
  color: var(--text-color);
  margin-right: 8px;
}

.badge-comparison-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-border);
}

.badge-comparison-section h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  border: none;
}

.badge-comparison-section h4 i {
  color: var(--secondary-color);
}

.badge-comparison-section p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.badge-comparison-section .comparison-note {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 1.5rem;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.report-table th {
  padding: 10px 12px;
  border: 1px solid var(--gray-border);
  text-align: center;
  vertical-align: middle;
  background-color: var(--gray-light);
  font-weight: 600;
  color: var(--primary-darker);
}

.report-table td {
  padding: 10px 12px;
  border: 1px solid var(--gray-border);
  text-align: center;
  vertical-align: middle;
}

.report-table tbody tr:nth-child(even) {
  background-color: #fdfdff;
}

.report-table tbody tr:hover {
  background-color: #f4eef8;
}

.progress-bar-container {
  width: 100%;
  background-color: var(--gray-light);
  border-radius: 20px;
  height: 22px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 20px;
  background-color: var(--error-color);
  transition: width 0.5s ease-in-out, background-color 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-bar-text {
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0 10px;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

.btn-info {
  background-color: #17a2b8;
}

.btn-info:hover {
  background-color: #138496;
}

.leaderboard-container {
  padding: 15px;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
}

.leaderboard-table td {
  text-align: left;
  padding: 12px 15px;
}

.leaderboard-table th {
  text-align: left;
  padding: 12px 15px;
}

.leaderboard-table th:first-child {
  text-align: center;
}

.leaderboard-table td:first-child {
  text-align: center;
}

.leaderboard-table th:last-child {
  text-align: center;
}

.leaderboard-table td:last-child {
  text-align: center;
}

.leaderboard-table .rank {
  font-weight: bold;
  font-size: 1.2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: var(--text-color);
}

.leaderboard-table .rank.gold {
  background-color: #ffd700;
  color: #333;
}

.leaderboard-table .rank.silver {
  background-color: #c0c0c0;
  color: #333;
}

.leaderboard-table .rank.bronze {
  background-color: #cd7f32;
  color: white;
}

.leaderboard-table tr.current-user {
  background-color: var(--primary-color) !important;
  color: white;
  font-weight: bold;
}

.leaderboard-table tr.current-user .rank {
  color: var(--primary-color);
  background-color: white;
}

#full-screen-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2000;
  backdrop-filter: blur(3px);
}

#full-screen-loader.active {
  display: flex;
}

.spinner {
  border: 5px solid rgba(142, 68, 173, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

.hedef-section {
  padding: 20px;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-border);
}

.hedef-kart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.hedef-kart {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border-left: 5px solid var(--secondary-color);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hedef-kart:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.hedef-kart-header {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-darker);
}

.hedef-kart-header .uni-sehir {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
}

.hedef-kart-bolum {
  font-size: 1rem;
  color: var(--text-color);
}

.hedef-kart-puan {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--gray-border);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--success-darker);
  text-align: center;
}

.hedef-kart-puan span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
  display: block;
}

.hedef-kart-actions {
  text-align: right;
}

.goals-filter-yeni {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.goals-list-container-yeni {
  max-height: 400px;
  overflow-y: auto;
}

.goals-list-container-yeni .report-table td {
  text-align: left;
}

.goals-list-container-yeni .report-table th {
  text-align: left;
}

#study-program-view h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#study-tasks-container {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.study-task-item {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-left: 5px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "info inputs"
        "info timer";
  gap: 20px;
  align-items: center;
  transition: background-color 0.3s;
}

@media (max-width: 768px) {
.container {
  padding: 20px;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.2rem;
}

.dashboard-buttons {
  flex-direction: column;
  align-items: stretch;
}

.dashboard-buttons .btn {
  width: 100%;
}

.statistics-summary {
  grid-template-columns: 1fr 1fr;
}

.modal-content {
  padding: 20px;
}

.modal-actions {
  flex-direction: column;
}

.modal-actions .btn {
  width: 100%;
}

.badge-modal-main {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

}

.chart-container {
  height: 300px;
  margin-top: 1.5rem;
  position: relative;
  width: 100%;
}

@media (max-width: 480px) {
.statistics-summary {
  grid-template-columns: 1fr;
}

.filter-grid {
  grid-template-columns: 1fr;
}

}

.study-task-item.konu-tekrari {
  border-left-color: var(--warning-color);
  background-color: #fffbeb;
}

.study-task-item.konu-tekrari .task-info .hedef-konu-tekrari {
  color: var(--error-color);
  font-weight: 700;
}

.task-info {
  grid-area: info;
}

.task-info h4 {
  font-size: 1.3rem;
  color: var(--primary-darker);
  margin-bottom: 0.5rem;
  border: none;
  padding: 0;
}

.task-info p {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: var(--text-color);
}

.task-info p strong {
  color: var(--text-light);
  font-weight: 600;
}

.task-inputs-container {
  grid-area: inputs;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.task-inputs-container .input-group {
  margin-bottom: 0;
  flex: 1;
}

.task-timer {
  grid-area: timer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.timer-display {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-darker);
  background-color: var(--gray-light);
  padding: 5px 12px;
  border-radius: 4px;
  min-width: 120px;
  text-align: center;
}

.task-timer-controls .btn-sm {
  padding: 6px 12px;
  font-size: 0.9rem;
}

.study-task-item.submitted {
  background-color: var(--light-bg);
  opacity: 0.7;
}

.study-task-item.submitted input {
  cursor: not-allowed;
}

.study-task-item.submitted button {
  cursor: not-allowed;
}

.badges-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 15px;
  -webkit-overflow-scrolling: touch;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--border-radius);
  transition: background-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.badge-item:hover {
  background-color: var(--gray-light);
  transform: translateY(-3px);
}

.badge-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.badge-item span {
  font-size: 0.8rem;
  color: var(--text-color);
  font-weight: 500;
  width: 80px;
  white-space: normal;
}

@media (max-width: 768px) {
.study-task-item {
  grid-template-columns: 1fr;
  grid-template-areas: "info"
            "inputs"
            "timer";
}

.task-inputs-container {
  justify-content: flex-start;
}

.task-timer {
  justify-content: flex-start;
}

}

.hedef-kart-netler {
  padding: 10px 0;
  text-align: center;
  border-top: 1px dashed var(--gray-border);
}

.hedef-kart-netler small {
  font-size: 0.8rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 5px;
}

.hedef-kart-netler .net-degerleri {
  font-size: 1rem;
  color: var(--primary-darker);
  display: flex;
  justify-content: center;
  gap: 15px;
}

.hedef-kart-netler .net-degerleri strong {
  font-size: 1.1rem;
  color: var(--secondary-darker);
}

.hedef-kart-ilerleme-item {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--gray-border);
}

.hedef-kart-ilerleme-item .etiketler {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.hedef-kart-ilerleme-item .etiketler .net-karsilastirma {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

#extra-study-section {
  padding-top: 1.5rem;
  border-top: 2px dashed var(--gray-border);
}

#extra-study-section h3 {
  text-align: left;
  border: none;
  color: var(--secondary-darker);
}

.extra-task-item {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr auto;
  gap: 1rem;
  align-items: flex-end;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-light);
}

.extra-task-inputs {
  display: flex;
  gap: 1rem;
}

.remove-extra-task-btn {
  margin-bottom: 1.2rem;
  height: 46px;
}

.task-part-info {
  font-weight: 400;
  font-size: 0.9em;
  color: var(--secondary-color);
  background-color: #eaf2f8;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  vertical-align: middle;
}

.modal-lg {
  max-width: 800px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.ders-detay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-height: 40vh;
  overflow-y: auto;
  padding: 10px;
  background-color: var(--light-bg);
  border-radius: 8px;
}

.ders-input-grup {
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--gray-border);
}

.ders-input-grup label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
.extra-task-item {
  grid-template-columns: 1fr;
  grid-template-areas: "inputs1"
            "inputs2"
            "timer"
            "button";
  gap: 0.5rem;
  align-items: center;
}

.extra-task-inputs {
  grid-area: inputs1;
  flex-direction: column;
  gap: 0.5rem;
}

.extra-task-item .task-inputs-container {
  grid-area: inputs2;
  flex-direction: column;
  gap: 0.5rem;
}

.extra-task-item .task-timer {
  grid-area: timer;
  justify-content: flex-start;
}

.remove-extra-task-btn {
  grid-area: button;
  width: 100%;
  margin-bottom: 0;
}

}

.ders-input-grup .inputs {
  display: flex;
  gap: 8px;
}

.ders-input-grup .inputs input {
  width: 100%;
  text-align: center;
}

.badge.TYT {
  background-color: var(--primary-color);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.badge.AYT {
  background-color: var(--secondary-color);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.yks-hesapla-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.deneme-secim-kolon h4 {
  text-align: center;
  border-bottom: 1px solid var(--gray-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.deneme-secim-liste {
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 10px;
}

.deneme-secim-item {
  display: block;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 5px;
  transition: background-color 0.2s;
}

.deneme-secim-item:hover {
  background-color: var(--light-bg);
}

.deneme-secim-item input[type="radio"] {
  margin-right: 10px;
}

.deneme-secim-item input[type="radio"]:checked + span {
  font-weight: bold;
  color: var(--primary-darker);
}

@media (max-width: 768px) {
.charts-grid {
  grid-template-columns: 1fr;
}

.ders-detay-grid {
  grid-template-columns: 1fr;
}

}

.yks-sonuc {
  margin-top: 1.5rem;
  padding: 15px;
  background-color: var(--light-bg);
  border-left: 5px solid var(--success-color);
  border-radius: 8px;
}

.yks-sonuc h4 {
  margin-bottom: 1rem;
  text-align: left;
  border: none;
}

.yks-sonuc .vurgulu-puan {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--success-darker);
}

.notification-alert {
  padding: 15px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-left: 5px solid var(--warning-color);
  background-color: #fffaf0;
}

.notification-alert.info {
  border-left-color: var(--secondary-color);
  background-color: #f0f8ff;
}

.notification-alert p {
  margin: 0;
  font-weight: 500;
}

.notification-alert .close-notification {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-light);
}

.dashboard-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.streak-counter {
  background: linear-gradient(135deg, #ff9a8b 0%, #ff6a88 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(255, 106, 136, 0.4);
}

.streak-counter i {
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.streak-counter #streak-days {
  font-size: 1.6rem;
}

.tasks-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.task-list-section h3 i {
  margin-right: 8px;
}

.task-list-section.overdue {
  border-top-color: var(--error-color);
}

.task-list-section.overdue h3 {
  color: var(--error-color);
}

.task-list-section.upcoming {
  border-top-color: var(--secondary-color);
}

.task-list-section.upcoming h3 {
  color: var(--secondary-color);
}

.task-list-section ul {
  padding-left: 5px;
  list-style: none;
  padding: 0;
}

.task-list-section li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.95rem;
}

.task-list-section li:last-child {
  border-bottom: none;
}

.task-list-section li strong {
  font-weight: 600;
  color: var(--text-color);
}

#cal-heatmap-container {
  padding: 1rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow-x: auto;
}

.cal-heatmap-container .graph-label {
  fill: var(--text-light);
  font-size: 10px;
}

.cal-heatmap-container .subdomain-text {
  fill: #333;
  font-size: 8px;
}

.cal-heatmap-container rect:hover {
  stroke: #000;
  stroke-width: 1px;
}

.btn-tour-help {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
}

.btn-tour-help:hover {
  text-decoration: underline;
}

.introjs-tooltip {
  border-radius: var(--border-radius);
  font-family: var(--font-family);
}

.introjs-button {
  border-radius: 6px;
  text-shadow: none;
  transition: background-color 0.2s;
}

.introjs-nextbutton {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.introjs-nextbutton:hover {
  background-color: var(--primary-darker);
}

.introjs-prevbutton {
  color: var(--text-light);
}

.introjs-skipbutton {
  color: var(--text-light);
}

.ml-1 {
  margin-left: 0.5rem;
}

.replan-btn {
  font-size: 0.8rem;
  padding: 4px 10px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
  margin-left: 10px;
}

.replan-btn:hover {
  background-color: var(--secondary-darker);
}

.replan-btn:disabled {
  background-color: var(--gray-light);
  cursor: not-allowed;
}

.deneme-karsilastirma-secim-alani {
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 10px;
}

.deneme-secim-item-checkbox {
  display: block;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 5px;
  transition: background-color 0.2s;
}

.deneme-secim-item-checkbox:hover {
  background-color: var(--light-bg);
}

.deneme-secim-item-checkbox input {
  margin-right: 10px;
}

@media (max-width: 768px) {
.tasks-overview-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.dashboard-stats-header {
  flex-direction: column;
  align-items: flex-start;
}

.dashboard-buttons {
  gap: 0.5rem;
}

.btn {
  padding: 10px 15px;
  font-size: 0.9rem;
}

}

#karsilastirma-tablo-govde .net-artis {
  color: var(--success-darker);
  font-weight: bold;
}

#karsilastirma-tablo-govde .net-azalis {
  color: var(--error-color);
  font-weight: bold;
}

body.dark-mode {
  --light-bg: #2c3e50;
  --white: #34495e;
  --text-color: #ecf0f1;
  --text-light: #95a5a6;
  --gray-border: #4a627a;
  --gray-light: #41566d;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .container {
  background-color: var(--white);
}

body.dark-mode h1 {
  color: #9b59b6;
}

body.dark-mode h2 {
  color: var(--text-color);
}

body.dark-mode h3 {
  color: var(--text-color);
}

body.dark-mode h4 {
  color: var(--text-color);
}

body.dark-mode .welcome-message strong {
  color: #bdc3c7;
}

body.dark-mode .btn-outline {
  color: #9b59b6;
  border-color: #9b59b6;
}

body.dark-mode .btn-outline:hover {
  background-color: #9b59b6;
  color: #fff;
}

body.dark-mode .btn-tour-help {
  color: var(--secondary-color);
}

body.dark-mode input {
  background-color: #2c3e50;
  color: var(--text-color);
  border-color: var(--gray-border);
}

body.dark-mode select {
  background-color: #2c3e50;
  color: var(--text-color);
  border-color: var(--gray-border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23bdc3c7' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

body.dark-mode .dashboard-section {
  background-color: transparent;
  border-top-color: #9b59b6;
}

body.dark-mode .statistics-summary > div {
  background-color: var(--gray-light);
}

body.dark-mode .hedef-section {
  background-color: #2c3e50;
}

body.dark-mode .hedef-kart {
  background-color: var(--white);
}

body.dark-mode .study-task-item {
  background-color: var(--white);
}

body.dark-mode .study-task-item.konu-tekrari {
  background-color: #4a4a38;
}

body.dark-mode .timer-display {
  background-color: #2c3e50;
  color: #ecf0f1;
}

body.dark-mode .report-table th {
  background-color: #2c3e50;
  color: #bdc3c7;
}

body.dark-mode .report-table tbody tr:nth-child(even) {
  background-color: #3e5168;
}

body.dark-mode .report-table tbody tr:hover {
  background-color: #4a627a;
}

body.dark-mode .modal-content {
  background-color: #34495e;
}

body.dark-mode .close-btn:hover {
  color: #e74c3c;
}

body.dark-mode .cal-heatmap-container .graph-label {
  fill: var(--text-light);
}

body.dark-mode #cal-heatmap-container {
  background-color: var(--white);
}

.total-score-display {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--warning-color);
  margin-bottom: 1.5rem;
}

.total-score-display #total-score {
  background-color: var(--warning-color);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 12px;
}

body.dark-mode .total-score-display {
  color: #f39c12;
}

body.dark-mode .total-score-display #total-score {
  color: #34495e;
}

.leaderboard-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-border);
}

.leaderboard-filters .btn {
  background-color: var(--gray-light);
  color: var(--text-light);
  box-shadow: none;
}

.leaderboard-filters .btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

body.dark-mode .leaderboard-filters .btn {
  background-color: #2c3e50;
  color: #95a5a6;
}

body.dark-mode .leaderboard-filters .btn.active {
  background-color: #9b59b6;
  color: #fff;
}

.charts-grid {
  align-items: start;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.canvas-wrapper {
  position: relative;
  height: 350px;
  width: 100%;
}

.canvas-wrapper canvas {
  max-width: 100%;
  max-height: 100%;
}

.modal-scrollable-content {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 15px;
  margin-right: -15px;
}

.deneme-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.d-flex.justify-between.align-center {
  flex-wrap: wrap;
  gap: 1rem;
}

.obp-display {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  padding: 10px;
  background-color: var(--light-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#obp-score {
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline dotted;
}

.obp-input-container {
  display: flex;
  gap: 5px;
  align-items: center;
}

#obp-input {
  width: 80px;
  padding: 5px 8px;
  text-align: center;
}

body.dark-mode .obp-display {
  background-color: var(--white);
  color: #5dade2;
}

.recommendation-alert {
  padding: 20px;
  border-radius: var(--border-radius);
  border-left: 5px solid var(--secondary-color);
  background-color: #eaf2f8;
  margin-bottom: 1.5rem;
}

@media (max-width: 800px) {
.charts-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

#dersSureChart.canvas-wrapper {
  height: 300px;
}

}

.recommendation-alert h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--secondary-darker);
  border: none;
  text-align: left;
}

.recommendation-alert p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

@media (min-width: 900px) {
.charts-grid {
  grid-template-columns: 1fr 1fr;
}

}

.recommendation-list label {
  display: block;
  padding: 8px 12px;
  background-color: #fff;
  border-radius: 6px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.recommendation-list label:hover {
  background-color: #f8f9fa;
}

.recommendation-list input {
  margin-right: 10px;
}

@media (max-width: 768px) {
.ders-detay-grid {
  grid-template-columns: 1fr;
}

}

.recommendation-list .konu-basari {
  font-size: 0.85rem;
  color: var(--error-color);
  font-weight: bold;
  float: right;
}

.recommendation-actions {
  margin-top: 15px;
  text-align: right;
}

body.dark-mode .recommendation-alert {
  background-color: #2c3e50;
  border-left-color: #5dade2;
}

body.dark-mode .recommendation-alert h4 {
  color: #5dade2;
}

body.dark-mode .recommendation-list label {
  background-color: var(--white);
}

body.dark-mode .recommendation-list label:hover {
  background-color: var(--gray-light);
}

.congrats-alert {
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  animation: fadeIn celebratory-alert-animation 1s ease-out;
}

.congrats-alert p {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  position: relative;
  z-index: 2;
}

.teacher-note {
  margin-top: 15px;
  padding: 10px;
  background-color: #fffbeb;
  border-left: 3px solid var(--warning-color);
  border-radius: 4px;
  font-size: 0.9rem;
  color: #856404;
}

.teacher-note strong {
  display: block;
  margin-bottom: 5px;
  color: #664d03;
}

body.dark-mode .teacher-note {
  background-color: #4d4d3c;
  border-left-color: #f39c12;
  color: #f8e9a1;
}

body.dark-mode .teacher-note strong {
  color: #f3c959;
}

.announcement-item {
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius);
  padding: 15px;
  margin-bottom: 1rem;
}

.announcement-item-header {
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.announcement-item-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--primary-darker);
}

.announcement-item-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: right;
  font-weight: normal;
  flex-shrink: 0;
  margin-left: 15px;
}

.announcement-item-content {
  margin-bottom: 15px;
  font-size: 0.95rem;
  font-weight: normal;
  line-height: 1.6;
}

.announcement-item-actions {
  text-align: right;
}

.class-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.class-card {
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--secondary-color);
  border-radius: var(--border-radius);
  padding: 20px;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.class-card h4 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--secondary-darker);
}

.class-stats {
  list-style: none;
  padding: 0;
}

.class-stats li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
}

.class-stats li:last-child {
  border-bottom: none;
}

.class-stats span {
  font-weight: bold;
  color: var(--text-color);
}

.view-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-border);
}

.view-header-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.view-header-text h1 {
  margin: 0;
  padding: 0;
  border: none;
  text-align: left;
  font-size: 1.8rem;
}

.view-header-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 4px;
  display: block;
}

body.dark-mode .view-header h1 {
  color: #ecf0f1;
}

body.dark-mode .view-header-icon {
  color: #9b59b6;
}

.notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--error-color);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#all-announcements-list .announcement-item {
  border-bottom: 1px solid var(--gray-border);
  padding: 15px 5px;
  opacity: 0.7;
  transition: opacity 0.3s, background-color 0.3s;
}

#all-announcements-list .announcement-item:last-child {
  border-bottom: none;
}

#all-announcements-list .announcement-item.unread {
  opacity: 1;
  font-weight: bold;
  background-color: #f8f9fa;
}

body.dark-mode #all-announcements-list .announcement-item.unread {
  background-color: #41566d;
}

body.dark-mode .announcement-item-title {
  color: #bdc3c7;
}

#sync-comparison-area h4 {
  border-bottom: 1px solid var(--gray-border);
  padding-bottom: 8px;
  margin-top: 20px;
}

.sync-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.sync-table th {
  border: 1px solid var(--gray-border);
  padding: 8px;
  text-align: left;
  vertical-align: top;
  background-color: var(--gray-light);
}

.sync-table td {
  border: 1px solid var(--gray-border);
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.sync-table .json-diff-view {
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 11px;
  background-color: #f7f7f7;
  padding: 5px;
  border-radius: 4px;
  max-height: 150px;
  overflow-y: auto;
}

.diff-highlight {
  background-color: #fff8e1;
  color: #e65100;
  font-weight: bold;
}

.clickable-list-link {
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.clickable-list-link:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.uni-link {
  font-weight: 500;
  text-decoration: none;
  color: var(--primary-darker);
}

.uni-link:hover {
  text-decoration: underline;
}

#uni-detail-content .statistics-summary > div {
  border: 1px solid var(--gray-border);
  background-color: var(--white);
}

#uni-detail-content .hedef-section {
  border-color: var(--secondary-color);
  background-color: #f0f8ff;
}

body.dark-mode #uni-detail-content .hedef-section {
  background-color: #2c3e50;
  border-color: #3498db;
}

.task-list-collapsible {
  max-height: 220px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.task-list-collapsible.expanded {
  max-height: 1000px;
}

.toggle-task-list {
  text-align: center;
  margin-top: 10px;
  cursor: pointer;
  color: var(--secondary-color);
  font-weight: 500;
}

.accordion-header {
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  margin-top: 10px;
  background-color: var(--gray-light);
  padding: 12px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background-color: #e1e5e8;
}

.accordion-content {
  border: 1px solid var(--gray-border);
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0;
}

.accordion-header.active + .accordion-content {
  max-height: 1500px;
  padding: 15px;
}

.accordion-header .icon::before {
  content: '\25B6';
  font-size: 0.8em;
  transition: transform 0.4s;
  display: inline-block;
}

.accordion-header.active .icon::before {
  transform: rotate(90deg);
}

#bulk-edit-task-list .task-list-item {
  display: flex;
  align-items: center;
  padding: 8px;
  border-bottom: 1px solid var(--gray-light);
}

#bulk-edit-task-list .task-list-item:hover {
  background-color: var(--light-bg);
}

#bulk-edit-task-list input[type="checkbox"] {
  margin-right: 15px;
}

#bulk-edit-task-list label {
  margin: 0;
  cursor: pointer;
  flex-grow: 1;
}

.accordion-item {
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  overflow: hidden;
}

body.dark-mode .accordion-header {
  background-color: var(--gray-light);
  color: var(--text-color);
}

body.dark-mode .accordion-header:hover {
  background-color: #4a627a;
}

.fc-event.fc-event-konu {
  background-color: var(--warning-color) !important;
  border-color: var(--warning-color) !important;
}

.fc-event.fc-event-soru {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.fc .fc-button-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.fc .fc-button-primary:hover {
  background-color: var(--primary-darker);
  border-color: var(--primary-darker);
}

.fc .fc-button-primary:disabled {
  background-color: var(--gray-light);
  border-color: var(--gray-light);
}

.fc .fc-daygrid-day.fc-day-today {
  background-color: #fcf8e3;
}

.fc-event-title .fa-lightbulb {
  margin-right: 6px;
  font-size: 0.9em;
}

.fc-event-title .fa-pencil-alt {
  margin-right: 6px;
  font-size: 0.9em;
}

.planner-preview-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  background-color: var(--light-bg);
  border-radius: 8px;
  min-height: 300px;
}

.planner-day-column {
  flex: 0 0 200px;
  background-color: #fff;
  border-radius: 6px;
  padding: 10px;
  border: 1px solid var(--gray-border);
}

.planner-day-column h5 {
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 10px;
}

.planner-task-card {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-left: 4px solid var(--secondary-color);
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 8px;
  cursor: grab;
  font-size: 0.85rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.planner-task-card:active {
  cursor: grabbing;
  background-color: #f0f8ff;
}

.planner-task-card.dragging {
  opacity: 0.5;
}

#planner-konu-listesi .accordion-content {
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
  border-top: 1px solid var(--gray-border);
}

#planner-konu-listesi .accordion-header.active + .accordion-content {
  max-height: 200px;
}

.badge-table-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background-color: var(--light-bg);
}

.recurring-delete-options label {
  display: block;
  padding: 15px;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.recurring-delete-options label:hover {
  background-color: var(--gray-light);
}

.recurring-delete-options input {
  margin-right: 10px;
}

.modal { z-index: 1000; }
#add-event-modal { z-index: 1010; } /* Sadece diğer modallardan biraz daha yüksek */
#select-content-modal { z-index: 1020; } /* İçerik seçme modalı, görev ekleme modalının üzerinde olmalı */
#full-screen-loader { z-index: 2000; } /* Loader her şeyin üzerinde olmalı */

.date-input-container {
  padding: 10px 15px 15px 40px;
  border-left: 2px solid var(--gray-border);
  margin-left: 12px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.date-input-container input[type="date"] {
  width: 100%;
}

.report-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#konu-durum-raporu-modal th {
  cursor: pointer;
  position: relative;
}

#konu-durum-raporu-modal th i.fas {
  margin-left: 5px;
  font-size: 0.8em;
  color: var(--text-light);
}

#konu-durum-raporu-modal th.active i.fas {
  color: var(--primary-color);
}

.btn-dark {
  background-color: #34495e;
  color: white;
}

.btn-dark:hover {
  background-color: #2c3e50;
}

@media (max-width: 900px) {
.modal-form-grid[style*="grid-template-columns: 1fr 1fr 1.5fr 1fr"] {
  grid-template-columns: 1fr 1fr;
}

}

.report-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 12px 15px;
  background-color: var(--light-bg);
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px solid var(--gray-border);
}

@media (max-width: 768px) {
.container {
  padding: 15px;
}

h1 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.1rem;
}

.report-table {
  display: block;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.report-table th {
  white-space: normal;
  vertical-align: middle;
}

.report-table td {
  white-space: normal;
  vertical-align: middle;
}

.report-table .action-buttons {
  display: flex;
  flex-direction: column;
  gap: 5px;
  white-space: normal;
}

.report-table .action-buttons button {
  width: 100%;
  margin: 0;
}

.modal-form-grid {
  grid-template-columns: 1fr !important;
}

.fc .fc-toolbar.fc-header-toolbar {
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.fc-timegrid-axis-cushion {
  font-size: 0.7em;
  padding: 0 2px !important;
}

}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.legend-color-box {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.1);
}

.legend-item.legend-green .legend-color-box {
  background-color: var(--success-color);
}

.legend-item.legend-green {
  color: var(--success-darker);
}

.legend-item.legend-blue .legend-color-box {
  background-color: var(--secondary-color);
}

.legend-item.legend-blue {
  color: var(--secondary-darker);
}

.legend-item.legend-dark .legend-color-box {
  background-color: #34495e;
}

.legend-item.legend-dark {
  color: #2c3e50;
}

.legend-item.legend-yellow .legend-color-box {
  background-color: var(--warning-color);
}

.legend-item.legend-yellow {
  color: #b87b0d;
}

body.dark-mode .report-legend {
  background-color: var(--white);
  border-color: var(--gray-border);
}

body.dark-mode .legend-item.legend-green {
  color: #5dd58f;
}

body.dark-mode .legend-item.legend-blue {
  color: #6db9e9;
}

body.dark-mode .legend-item.legend-dark {
  color: #bdc3c7;
}

body.dark-mode .legend-item.legend-yellow {
  color: #f7b731;
}

.daily-goal-progress-section {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.progress-info span:first-child {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.1rem;
}

body.dark-mode .progress-bar-container {
  background-color: #2c3e50;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}

body.dark-mode .progress-info span:first-child {
  color: var(--text-color);
}

.fc-event {
  border: none !important;
  padding: 2px 4px !important;
}

.fc-event.status-completed .fc-event-title::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00c";
  margin-right: 5px;
  color: #c8e6c9;
}

.fc-event.status-missed .fc-event-title::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f071";
  margin-right: 5px;
  color: #ffcdd2;
}

.fc-event.status-pending .fc-event-title::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f252";
  margin-right: 5px;
  color: rgba(255, 255, 255, 0.8);
}

.fc-event.status-completed {
  opacity: 0.8;
}

.comparison-change {
  font-weight: bold;
}

.change-positive {
  color: var(--success-color);
}

.change-negative {
  color: var(--error-color);
}

.change-neutral {
  color: var(--text-light);
}

.daily-goal-progress {
  margin-top: 1rem;
}

.progress-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.task-attachments {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px dashed var(--gray-border);
  display: none;
}

.task-attachments strong {
  font-size: 0.9rem;
  color: var(--secondary-darker);
}

.task-attachments ul {
  list-style: none;
  padding-left: 0;
  margin-top: 5px;
}

.task-attachments li a {
  text-decoration: none;
  color: var(--primary-color);
  display: inline-block;
  padding: 3px 0;
}

.task-attachments li a:hover {
  text-decoration: underline;
}

.task-attachments li a i {
  margin-right: 8px;
  color: var(--text-light);
}

.task-attachment-icons {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px dashed var(--gray-border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.attachment-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #2c3e50;
  font-size: 1.4rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.attachment-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.attachment-icon.icon-video {
  background-color: #FF0000;
}

.attachment-icon.icon-doc {
  background-color: #4285F4;
}

.sablon-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px;
  border-bottom: 1px solid var(--gray-border);
  cursor: pointer;
  transition: background-color 0.2s;
}

.sablon-list-item:hover {
  background-color: var(--light-bg);
}

.sablon-list-item .sablon-adi {
  font-weight: 500;
}

.sablon-list-item .sablon-actions button {
  margin-left: 5px;
}

#sablon-planner-preview-area {
  min-height: 50vh;
  border: 1px solid var(--gray-border);
}

#sablon-planner-preview-area .planner-task-card {
  border-left-color: var(--primary-color);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes celebratory-alert-animation {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* style.css veya admin.html <style> içine ekleyin */

/* === SAĞ TIK GÖREV MENÜSÜ === */
.task-context-menu {
    position: absolute;
    z-index: 1050; /* Diğer her şeyin üzerinde görünsün */
    background-color: white;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    padding: 8px 0;
    min-width: 180px;
    display: none; /* Başlangıçta gizli */
}

.task-context-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-context-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    align-items: center;
    gap: 10px;
}

.task-context-menu li a:hover {
    background-color: var(--gray-light);
}

.task-context-menu li.separator {
    height: 1px;
    background-color: var(--gray-border);
    margin: 8px 0;
}

/* ======================================================= */
/* === YENİ: Lejant Stilleri === */
/* ======================================================= */
.report-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 12px 15px;
  background-color: var(--light-bg);
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px solid var(--gray-border);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.legend-color-box {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.1);
}

.legend-item.legend-green .legend-color-box { background-color: var(--success-color); }
.legend-item.legend-green { color: var(--success-darker); }

.legend-item.legend-blue .legend-color-box { background-color: var(--secondary-color); }
.legend-item.legend-blue { color: var(--secondary-darker); }

.legend-item.legend-dark .legend-color-box { background-color: #34495e; }
.legend-item.legend-dark { color: #2c3e50; }

.legend-item.legend-yellow .legend-color-box { background-color: var(--warning-color); }
.legend-item.legend-yellow { color: #b87b0d; }

body.dark-mode .report-legend {
  background-color: var(--white);
  border-color: var(--gray-border);
}
body.dark-mode .legend-item.legend-green { color: #5dd58f; }
body.dark-mode .legend-item.legend-blue { color: #6db9e9; }
body.dark-mode .legend-item.legend-dark { color: #bdc3c7; }
body.dark-mode .legend-item.legend-yellow { color: #f7b731; }

.btn-dark {
    background-color: #34495e;
    color: white;
}

.btn-dark:hover {
    background-color: #2c3e50;
}

.study-task-item {
  grid-template-areas: "info inputs"
                       "info timer"
                       "info actions"; /* Yeni alanı ekle */
  grid-template-rows: auto auto 1fr;
}

.task-actions {
  grid-area: actions;
  justify-self: end; /* Butonu sağa yasla */
  align-self: end;   /* Dikeyde en alta indir */
  margin-top: 10px;
}

.extra-task-item {
  grid-template-columns: 1.5fr 1.5fr 1fr auto auto; /* Yeni buton için yer aç */
}

/* ======================================================= */
/* === YENİ: Hedef Kartı Net Farkı Analizi Stilleri === */
/* ======================================================= */
.hedef-kart-net-farki {
    padding: 10px 0;
    margin-top: 10px;
    border-top: 1px dashed var(--gray-border);
}

.net-fark-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 4px 0;
}

.net-fark-item .tur {
    font-weight: 600;
    color: var(--text-color);
}

.net-fark-item .fark {
    font-weight: 700;
}

.net-fark-item .fark.pozitif {
    color: var(--success-darker);
}

.net-fark-item .fark.negatif {
    color: var(--error-color);
}

td.fark.pozitif {
    color: var(--success-darker);
    background-color: #eafaf1;
}

td.fark.negatif {
    color: var(--error-color);
    background-color: #fbecec;
}

/* ======================================================= */
/* === YENİ: Şablon Paylaşma Butonu Stilleri === */
/* ======================================================= */
.sablon-actions {
    display: flex;
    align-items: center;
    gap: 10px; /* Butonlar arasına boşluk koy */
}

.public-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px 10px;
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
    background-color: var(--light-bg);
    color: var(--text-light);
}

.public-toggle-label:hover {
    background-color: #e9ecef;
}

.public-toggle-label input[type="checkbox"] {
    display: none; /* Asıl çirkin checkbox'ı gizle */
}

.public-toggle-label i {
    font-size: 1rem;
}

/* Checkbox işaretlendiğinde (yani public olduğunda) stil değiştir */
.public-toggle-label input[type="checkbox"]:checked + i {
    color: var(--success-darker);
}

.public-toggle-label input[type="checkbox"]:checked ~ span {
    color: var(--text-color);
}

/* ======================================================= */
/* === YENİ VE MOBİL UYUMLU: ÇALIŞMA PROGRAMI KARTI STİLLERİ === */
/* ======================================================= */

.study-task-item {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-left: 5px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 15px; /* Mobilde daha kompakt olması için padding'i biraz azalttık */
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  display: flex; /* Ana container'ı flex yapıyoruz */
  flex-wrap: wrap; /* Ekran küçüldüğünde elemanların alta kaymasını sağlıyoruz */
  justify-content: space-between;
  align-items: center;
  gap: 15px; /* Elemanlar arası boşluk */
  transition: background-color 0.3s;
}

.study-task-item.konu-tekrari {
  border-left-color: var(--warning-color);
  background-color: #fffbeb;
}

.study-task-item.submitted {
  background-color: var(--light-bg);
  opacity: 0.7;
}

.study-task-item.submitted input,
.study-task-item.submitted button {
  cursor: not-allowed;
}

/* --- Sol Taraf: Görev Bilgileri --- */
.task-info {
  flex-grow: 1; /* Mümkün olan tüm boşluğu kapla */
  min-width: 200px; /* Çok daralmasını engelle */
}

.task-info h4 {
  font-size: 1.2rem;
  color: var(--primary-darker);
  margin-bottom: 0.3rem;
  border: none;
  padding: 0;
}

.task-info p {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.task-info p strong {
  color: var(--text-light);
  font-weight: 500;
}

/* --- Orta Alan: Girdiler ve Zamanlayıcı --- */
.task-entry-area {
  display: flex;
  flex-direction: column; /* Girdiler ve zamanlayıcı alt alta */
  gap: 10px;
  align-items: flex-end; /* İçeriği sağa yasla */
  flex-shrink: 0; /* Küçülmesini engelle */
}

.task-inputs-container {
  display: flex;
  gap: 10px;
}

.task-inputs-container .input-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center; /* Etiket ve input'u ortala */
}

.task-inputs-container .input-group label {
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.task-inputs-container .input-group input {
  width: 80px; /* Input genişliğini sabitle */
  padding: 8px;
  text-align: center;
}

.task-timer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timer-display {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-darker);
  background-color: var(--gray-light);
  padding: 5px 10px;
  border-radius: 4px;
}

/* --- Sağ Taraf: Kaydet Butonu --- */
.task-actions {
  align-self: stretch; /* Bulunduğu flex container'ın yüksekliğini kapla */
  display: flex;
  align-items: center; /* İçindeki butonu dikeyde ortala */
}

.task-actions .save-single-task-btn {
  height: 100%; /* Butonun yüksekliğini ayarla */
  min-height: 50px;
}
/* ======================================================= */
/* === YENİ VE NİHAİ: EKSTRA ÇALIŞMA SATIRI STİLLERİ v3 === */
/* ======================================================= */

/* Ekstra görev kartının genel çerçevesi */
.extra-task-item {
    border-left-color: var(--secondary-color) !important; /* Farklı bir renk verelim */
    background-color: var(--light-bg) !important;
}

/* Sol taraftaki "task-info" alanının içindeki input gruplarını düzenliyoruz */
.extra-task-item .task-info .input-group {
    margin-bottom: 0.8rem;
}

.extra-task-item .task-info .input-group:last-child {
    margin-bottom: 0;
}

.extra-task-item .task-info .input-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.extra-task-item .task-info select {
    width: 100%;
    padding: 8px 12px;
    font-size: 1rem;
}

/* Sağ taraftaki "task-actions" butonlarını düzenliyoruz */
.extra-task-item .task-actions {
    flex-direction: row; /* Butonlar yan yana gelsin */
    align-items: center;
    align-self: flex-end; /* Kendini dikeyde en alta yasla */
    height: auto; /* Yüksekliği otomatik olsun */
}

.extra-task-item .task-actions .save-single-task-btn {
    width: auto; /* Genişlik otomatik olsun */
    height: auto; /* Yükseklik otomatik olsun */
}

/* Silme butonunu daha kompakt yapalım */
.extra-task-item .remove-extra-task-btn {
    padding: 8px 12px;
    background-color: transparent;
    border: none;
    color: var(--text-light);
}

.extra-task-item .remove-extra-task-btn:hover {
    color: var(--error-color);
    background-color: #fbecec;
}

/* ======================================================= */
/* === MOBİL CİHAZLAR İÇİN ÖZEL AYARLAR (@media query) === */
/* ======================================================= */
@media (max-width: 768px) {
  /* ... (Mevcut diğer mobil stilleriniz burada kalacak) ... */
  
  /* Ekstra Görev Satırı için Mobil Ayarları */
  .extra-task-item .task-actions {
    width: 100%;
    margin-top: 1rem;
    justify-content: flex-end; /* Butonları sağa yasla */
  }
}

.planner-day-column {
  flex: 0 0 220px; /* Sütun genişliğini biraz artıralım */
  background-color: #fff;
  border-radius: 6px;
  padding: 10px;
  border: 1px solid var(--gray-border);
  display: flex; /* İçeriğin dikeyde yayılması için */
  flex-direction: column;
}

.planner-day-column h5 {
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 10px;
  flex-shrink: 0; /* Başlığın küçülmesini engelle */
}

/* YENİ: Görevlerin bulunduğu ve sürükleme alanını oluşturan container */
.planner-tasks-container {
    min-height: 100px; /* Boş sütunların bile bir bırakma alanı olmasını sağlar */
    flex-grow: 1; /* Mevcut tüm dikey boşluğu kapla */
}

.planner-task-card {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 8px;
  cursor: grab; /* Sürüklenebilir olduğunu belirtir */
  font-size: 0.85rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex; /* Checkbox ve metni hizalamak için */
  align-items: center;
}

.planner-task-card:active {
  cursor: grabbing;
}

/* YENİ: SortableJS'in sürükleme sırasında kullandığı hayalet stil */
.sortable-ghost {
  opacity: 0.4;
  background: #c8ebfb;
}

/* admin.html -> <style> içine ekleyin */

.class-card-accordion .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.class-card-accordion .card-header:hover {
    background-color: var(--gray-border);
}

.class-card-accordion .card-header h4 {
    margin: 0;
}

.class-card-accordion .card-header .actions {
    display: flex;
    gap: 10px;
}

.class-card-accordion .student-list-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background-color: var(--background-color);
    border-radius: 0 0 8px 8px;
}

.class-card-accordion.active .student-list-container {
    max-height: 600px; /* Genişleyeceği maksimum yükseklik */
    overflow-y: auto;
}

.class-card-accordion.active .card-header {
    border-radius: 8px 8px 0 0;
}

.compliance-bar-container {
    width: 100px;
    height: 10px;
    background-color: var(--gray-border);
    border-radius: 5px;
    overflow: hidden;
}

.compliance-bar-fill {
    height: 100%;
    border-radius: 5px;
}
.compliance-low { background-color: var(--error-color); }
.compliance-medium { background-color: var(--warning-color); }
.compliance-high { background-color: var(--success-color); }

/* admin.html -> <style> içine ekleyin */

.task-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 5px;
    border-bottom: 1px solid var(--gray-border);
}

.task-list-item:last-child {
    border-bottom: none;
}

.task-list-item label {
    margin-bottom: 0;
    font-size: 0.9em;
}

.task-list-item .task-date {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.85em;
    flex-shrink: 0; /* Küçülmesini engelle */
}

/* admin.html -> <style> içine ekleyin */

.bulk-delete-option-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.bulk-delete-option-card i.fas {
    font-size: 2rem;
    margin-top: 5px;
}

.bulk-delete-option-card .icon-warning { color: var(--warning-color); }
.bulk-delete-option-card .icon-danger { color: var(--error-color); }

.bulk-delete-option-card h4 {
    margin-top: 0;
    margin-bottom: 5px;
}

/* index.html veya style.css içine ekleyin */

.part-info {
    background-color: rgba(52, 152, 219, 0.1); /* Mavi arka plan */
    border-left: 4px solid #3498db; /* Sol tarafta mavi çizgi */
    padding: 10px 15px;
    margin-top: 15px;
    border-radius: 0 4px 4px 0;
    font-size: 0.9em;
}
.part-info strong {
    display: block;
    color: var(--primary-color-dark); /* Tema rengine uygun */
    margin-bottom: 5px;
}
.part-info span {
    color: var(--text-light);
}

/* ======================================================= */
/* === NİHAİ: Takvim ve Renk Paleti İyileştirmeleri === */
/* ======================================================= */

/* --- 1. Renk Paletini Izgara (Grid) Yapısı Haline Getir --- */
.ders-renk-paleti-grid {
    display: grid;
    /* Otomatik olarak sığdığı kadar sütun oluştur, her sütun en az 220px olsun */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem; /* Izgara elemanları arasına boşluk koy */
}
.ders-renk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--gray-light);
    padding: 8px;
    border-radius: 6px;
}
.ders-renk-item label {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ders-renk-item input[type="color"] {
    width: 40px;
    height: 30px;
    border: none;
    cursor: pointer;
    background: none;
    padding: 0;
}

/* admin.html <style> etiketi içine ekleyin */

/* ======================================================= */
/* === NİHAİ v4: FullCalendar Görünüm Sıfırlama ve Stilleri === */
/* ======================================================= */

/* --- 1. FullCalendar'ın Varsayılan Stillerini Sıfırla --- */
/* Bu, bizim özel stilimizin tam kontrol sahibi olmasını sağlar. */
.fc-event, .fc-daygrid-event, .fc-timegrid-event, .fc-list-event {
    background-color: transparent !important;
    border: none !important;
    padding: 2px !important;
    color: var(--text-color) !important;
    text-shadow: none !important;
}
.fc-list-event:hover td {
    background-color: transparent !important;
}

/* --- 2. Bizim Özel Görev Kutumuzun Stili (Tüm görünümlerde ortak) --- */
.custom-fc-event {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4px 6px;
    border-radius: 4px;
    background-color: var(--light-bg);
    border-left: 3px solid; /* Bu renk JS tarafından atanacak */
    overflow: hidden;
}
body.dark-mode .custom-fc-event {
    background-color: var(--gray-light);
}

.custom-fc-event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 6px;
}

.custom-fc-event-content {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.custom-fc-event-ders {
    font-weight: 600;
    font-size: 0.8em;
}

.custom-fc-event-konu {
    font-size: 0.85em;
    color: var(--text-light);
    margin-left: 5px;
}
body.dark-mode .custom-fc-event-konu {
    color: var(--text-light);
}

.custom-fc-event-icon {
    font-size: 0.8em;
    color: var(--text-light);
    margin-left: auto;
    padding-left: 5px;
}

/* --- 3. Görünüme Özel Ayarlamalar --- */

/* Haftalık görünümde ders adını gizle, sadece konu görünsün (daha az kalabalık) */
.fc-timegrid-event .custom-fc-event-ders {
    display: none;
}
.fc-timegrid-event .custom-fc-event-konu {
    margin-left: 0;
}

/* Liste görünümünde noktayı gizle (zaten ders etiketi renkli) */
.fc-list-event .custom-fc-event-dot {
    display: none;
}
.fc-list-event .custom-fc-event {
    border-left: none; /* Kenar çizgisini kaldır */
    background-color: transparent;
}
body.dark-mode .fc-list-event .custom-fc-event {
    background-color: transparent;
}
/* Liste görünümünde ders etiketini renklendir */
.fc-list-event .custom-fc-event-ders {
    color: var(--fc-event-border-color); /* Görevin ana rengini al */
}