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

html {
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.4;
  font-size: 14px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  box-sizing: border-box;
}

h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

h2 {
  color: #34495e;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

h3 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.card {
  background: white;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e6ed;
}

/* Content Type Selection */
.content-type-section {
  margin-bottom: 15px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e0e6ed;
}

.content-type-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.content-type-options {
  display: flex;
  gap: 15px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 12px;
  background: white;
  border: 2px solid #e0e6ed;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.radio-option:hover {
  border-color: #3498db;
}

.radio-option input[type="radio"] {
  margin: 0;
}

.radio-option input[type="radio"]:checked + span {
  color: #3498db;
  font-weight: 600;
}

.radio-option:has(input:checked) {
  border-color: #3498db;
  background: #e3f2fd;
}

/* Story Fields */
.story-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.story-fields input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
}

.story-fields label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: #555;
  font-size: 13px;
}

/* Title Section */
.title-section {
  margin-bottom: 12px;
  padding: 12px;
  background: #e8f4fd;
  border-radius: 6px;
  border: 1px solid #3498db;
}

.title-section label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.title-section input {
  width: 100%;
  padding: 10px;
  border: 2px solid #3498db;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  background: white;
}

.title-section input:focus {
  outline: none;
  border-color: #2980b9;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Notes Section */
.notes-section {
  margin-bottom: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e0e6ed;
}

.notes-section label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.notes-section textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  resize: vertical;
  min-height: 60px;
}

.notes-section textarea:focus {
  outline: none;
  border-color: #3498db;
}

/* Form Styling */
.form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-grid label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: #555;
  font-size: 13px;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: #3498db;
}

.form-grid textarea {
  resize: vertical;
  height: 70px;
}

.file-section {
  margin-bottom: 12px;
}

.file-section label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: #555;
  font-size: 13px;
}

.file-input {
  width: 100%;
  padding: 8px;
  border: 1px dashed #bdc3c7;
  border-radius: 4px;
  background: #f8f9fa;
  cursor: pointer;
  font-size: 12px;
}

.file-input:hover {
  border-color: #3498db;
}

.file-preview {
  margin-top: 6px;
  padding: 6px;
  background: #e8f5e8;
  border-radius: 4px;
  color: #2e7d32;
  display: none;
  font-size: 12px;
}

/* Birden fazla dosya önizlemesi stilleri */
.file-list {
  margin-bottom: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: white;
  border: 1px solid #d1e7dd;
  border-radius: 4px;
  margin-bottom: 4px;
  font-size: 12px;
}

.file-item:last-child {
  margin-bottom: 0;
}

.file-icon {
  font-size: 14px;
  display: flex;
  align-items: center;
}

.file-name {
  flex: 1;
  font-weight: 500;
  color: #2c3e50;
  word-break: break-all;
}

.file-size {
  color: #7f8c8d;
  font-size: 11px;
  white-space: nowrap;
}

.file-count {
  font-weight: 600;
  color: #2e7d32;
  border-top: 1px solid #c8e6c9;
  padding-top: 6px;
  margin-top: 4px;
}

/* Tablodaki dosya listesi stilleri */
.files-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-item-table {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background: #f8f9fa;
  border-radius: 3px;
  font-size: 11px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.file-item-table:hover {
  background: #e8f4fd;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: #3498db;
}

.file-item-table .file-icon {
  font-size: 12px;
}

.file-item-table .file-link {
  flex: 1;
  text-decoration: none;
  color: #2980b9;
  font-weight: 500;
  word-break: break-all;
}

.file-item-table .file-link:hover {
  text-decoration: underline;
}

.file-size-table {
  color: #7f8c8d;
  font-size: 10px;
  white-space: nowrap;
}

.files-count {
  font-size: 10px;
  color: #2e7d32;
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #c8e6c9;
}

.form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-size: 13px;
}

.form-buttons {
  display: flex;
  gap: 8px;
}

/* Button Styling */
.btn {
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  opacity: 0.9;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7 !important;
  transform: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #3498db;
  color: white;
}
.btn-success {
  background: #27ae60;
  color: white;
}
.btn-danger {
  background: #e74c3c;
  color: white;
}
.btn-secondary {
  background: #95a5a6;
  color: white;
}
.btn-info {
  background: #17a2b8;
  color: white;
}
.btn-purple {
  background: #9b59b6;
  color: white;
}
.btn-orange {
  background: #f39c12;
  color: white;
}
.btn-gray {
  background: #6c757d;
  color: white;
}

.btn-warning {
  background: #ffc107;
  color: #212529;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 11px;
}

/* Account Selection */
.account-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}

.group-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.account-groups {
  display: grid;
  gap: 15px;
}

.account-group {
  border: 1px solid #e0e6ed;
  border-radius: 6px;
  padding: 12px;
  background: #f8f9fa;
}

.group-title {
  font-weight: 600;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #ddd;
  font-size: 14px;
}

.avm-title {
  color: #3498db;
  border-color: #3498db;
}
.park-title {
  color: #d4af37;
  border-color: #d4af37;
}
.konsept-title {
  color: #f39c12;
  border-color: #f39c12;
}
.markalar-title {
  color: #6c757d;
  border-color: #6c757d;
}
.test-title {
  color: #ffc107;
  border-color: #ffc107;
}

.accounts-list {
  display: grid;
  gap: 8px;
}

.account-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 8px;
  background: white;
  border: 1px solid #e0e6ed;
  border-radius: 4px;
  gap: 10px;
}

.account-item:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.account-name {
  font-weight: 500;
  color: #2c3e50;
  font-size: 13px;
}

.platforms {
  display: flex;
  gap: 8px;
}

.platform-checkbox {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.platform-checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.platform-checkbox label {
  cursor: pointer;
  font-size: 11px;
  color: #555;
}

/* Tümü checkbox'ı için özel stil */
.select-all-checkbox {
  background-color: #e8f4f8;
  border: 1px solid #3498db;
  border-radius: 4px;
  padding: 3px 6px;
  margin-right: 10px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.select-all-checkbox:hover {
  background-color: #d1ecf1;
  border-color: #2980b9;
}

.select-all-label {
  color: #2980b9 !important;
  font-weight: 600 !important;
  font-size: 11px !important;
}

.select-all-checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin-right: 4px;
}

/* Table Styling */
.table-container {
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid #e0e6ed;
  max-height: 500px;
  overflow-y: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 12px;
}

th,
td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid #e0e6ed;
}

th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
  position: sticky;
  top: 0;
  font-size: 11px;
}

tr:hover {
  background: #f8f9fa;
}

.content-cell {
  max-width: 150px;
  max-height: 120px;
  word-wrap: break-word;
  font-size: 11px;
  position: relative;
  white-space: pre-wrap;
  line-height: 1.4;
  overflow: hidden;
}

/* Story Content Styling */
.story-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 120px;
  overflow: hidden;
}

.story-title {
  line-height: 1.4;
  word-break: break-word;
  max-height: 80px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.story-title.expanded {
  max-height: none;
  -webkit-line-clamp: none;
  line-clamp: none;
  overflow: visible;
}

.story-title.clickable-story-title {
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 3px;
  padding: 2px 4px;
  margin: -2px -4px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.story-title.clickable-story-title:hover {
  background-color: #e3f2fd;
  transform: translateY(-1px);
}

.story-title.clickable-story-title:active {
  transform: translateY(0);
  background-color: #bbdefb;
}

.story-link {
  margin-top: 4px;
}

.story-link a {
  color: #3498db;
  text-decoration: none;

  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 3px;
  padding: 2px 4px;
  margin: -2px -4px;
  display: inline-block;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.story-link a:hover {
  background-color: #e3f2fd;
  text-decoration: none;
  transform: translateY(-1px);
}

.story-link a:active {
  transform: translateY(0);
  background-color: #bbdefb;
}

.content-with-copy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.copy-btn {
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 45px;
}

.copy-btn:hover {
  background: #2980b9;
  transform: translateY(-1px);
}

.copy-btn:active {
  transform: translateY(0);
}

.copy-btn.copied {
  background: #27ae60;
}

.content-text {
  flex: 1;
  min-width: 0;
  max-height: 100px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  position: relative;
}

.content-text.expanded {
  max-height: none;
  -webkit-line-clamp: none;
  line-clamp: none;
  overflow: visible;
}

.content-text-toggle {
  color: #3498db;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
  display: inline-block;
  user-select: none;
  background: none;
  border: none;
  padding: 2px 4px;
  border-radius: 3px;
}

.content-text-toggle:hover {
  color: #2980b9;
  background: #e3f2fd;
}

.action-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.accounts-cell {
  max-width: 200px;
}

.account-tag {
  display: inline-block;
  padding: 1px 4px;
  margin: 1px;
  background: #e3f2fd;
  color: #1976d2;
  border-radius: 3px;
  font-size: 9px;
}

.status-select {
  padding: 4px 6px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 500;
  width: 100%;
}

.status-planlandı {
  background: #e3f2fd;
  color: #1976d2;
}
.status-yapıldı {
  background: #e8f5e8;
  color: #2e7d32;
}
.status-beklemede {
  background: #fff3e0;
  color: #f57c00;
}
.status-iptal {
  background: #ffebee;
  color: #d32f2f;
}

.file-link {
  color: #27ae60;
  text-decoration: none;
  font-size: 10px;
}

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

.download-btn {
  background: #27ae60;
  color: white;
  padding: 4px 8px;
  border: none;
  border-radius: 3px;
  font-size: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin-left: 8px;
}

.download-btn:hover {
  background: #219a52;
  text-decoration: none;
}

/* Download All Button */
.download-all-section {
  margin-top: 8px;
  text-align: center;
}

.download-all-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.download-all-btn:hover {
  background: #2980b9;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.download-all-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

/* Toggle Arrow */
.toggle-arrow {
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: transform 0.2s ease;
}

.toggle-arrow.expanded {
  transform: rotate(90deg);
}

/* Accounts Detail */
.accounts-detail {
  display: none;
  margin-top: 8px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #e0e6ed;
}

.accounts-detail.show {
  display: block;
}

.account-progress {
  display: grid;
  gap: 6px;
  max-height: 150px;
  overflow-y: auto;
}

.account-progress-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: white;
  border-radius: 3px;
  border: 1px solid #ddd;
}

.account-progress-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.account-progress-item label {
  font-size: 11px;
  cursor: pointer;
  flex: 1;
}

.progress-text {
  font-size: 11px;
  font-weight: 500;
  color: #666;
}

.content-type-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
}

.content-type-badge.post {
  background: #e3f2fd;
  color: #1976d2;
}

.content-type-badge.story {
  background: #fce4ec;
  color: #c2185b;
}

/* Platform Groups */
.platform-group {
  margin-bottom: 12px;
}

.platform-group-title {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
  padding: 4px 8px;
  background: #e9ecef;
  border-radius: 3px;
  border-left: 3px solid #007bff;
}

.platform-accounts {
  margin-left: 8px;
}

.platform-group:last-child {
  margin-bottom: 0;
}

/* Sticky Message Container */
.message-container {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 9999;
  padding: 0 15px;
  box-sizing: border-box;
  pointer-events: none; /* Container kendisi tıklanamaz, içindeki mesajlar tıklanabilir */
}

.message-container:not(:empty) {
  padding-top: 15px;
  padding-bottom: 10px;
  background: linear-gradient(
    to bottom,
    rgba(248, 249, 250, 0.95) 0%,
    rgba(248, 249, 250, 0.9) 70%,
    transparent 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
}

/* Messages */
.message {
  padding: 12px 16px;
  border-radius: 8px;
  margin: 0 auto 8px auto;
  font-weight: 500;
  font-size: 14px;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-left: 4px solid;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: messageSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.message:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.message.success {
  background: rgba(232, 245, 232, 0.95);
  color: #1b5e20;
  border-left-color: #4caf50;
}

.message.success::before {
  content: "✅";
  font-size: 16px;
  flex-shrink: 0;
}

.message.error {
  background: rgba(255, 235, 238, 0.95);
  color: #b71c1c;
  border-left-color: #f44336;
}

.message.error::before {
  content: "❌";
  font-size: 16px;
  flex-shrink: 0;
}

.message.info {
  background: rgba(227, 242, 253, 0.95);
  color: #0d47a1;
  border-left-color: #2196f3;
}

.message.info::before {
  content: "ℹ️";
  font-size: 16px;
  flex-shrink: 0;
}

.message.warning {
  background: rgba(255, 248, 225, 0.95);
  color: #e65100;
  border-left-color: #ff9800;
}

.message.warning::before {
  content: "⚠️";
  font-size: 16px;
  flex-shrink: 0;
}

/* Message close button */
.message-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  padding: 2px;
  border-radius: 3px;
}

.message-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}

/* Animation keyframes */
@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes messageSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Mobile Sticky Messages */
  .message-container {
    padding: 0 10px;
  }

  .message-container:not(:empty) {
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .message {
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 6px;
    max-width: 100%;
    margin: 0 0 6px 0;
  }

  .message::before {
    font-size: 14px;
  }

  .message-close {
    font-size: 14px;
  }

  .container {
    padding: 10px;
  }

  h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .content-type-options {
    flex-direction: column;
    gap: 10px;
  }

  .radio-option {
    justify-content: center;
  }

  .story-fields {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .account-header {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .group-buttons {
    justify-content: center;
  }

  .account-item {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .platforms {
    justify-content: center;
  }

  .form-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .form-buttons {
    width: 100%;
    justify-content: center;
  }

  .card {
    padding: 12px;
  }

  .btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  .table-container {
    max-height: 400px;
    overflow-x: auto;
  }

  .content-cell {
    min-width: 120px;
    max-width: none;
    white-space: pre-wrap;
    word-break: break-word;
  }

  table {
    min-width: 0;
    width: 100%;
  }

  /* Video ve dosya linklerini mobil için optimize et */
  .file-link {
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
    word-wrap: break-word;
    max-width: 100%;
  }

  .files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .file-item-table {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e0e6ed;
    margin-bottom: 6px;
  }

  .file-item-table .file-icon {
    align-self: flex-start;
    margin-bottom: 4px;
    font-size: 16px;
  }

  .file-item-table .file-link {
    font-size: 13px !important;
    font-weight: 500;
    color: #2c3e50;
    text-decoration: none;
    margin-bottom: 4px;
    word-break: break-all;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .file-size-table {
    font-size: 11px;
    color: #666;
    margin-bottom: 6px;
  }

  .download-btn {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 4px;
    align-self: flex-start;
  }

  .files-count {
    font-size: 12px;
    font-weight: 600;
    color: #2c3e50;
    background: #e8f4fd;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    margin-top: 4px;
  }

  .download-all-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  /* Extra Small Mobile Sticky Messages */
  .message-container {
    padding: 0 8px;
  }

  .message {
    font-size: 12px;
    padding: 8px 10px;
    gap: 8px;
  }

  .message::before {
    font-size: 13px;
  }

  .message-close {
    font-size: 13px;
    padding: 1px;
  }

  .container {
    padding: 8px;
  }

  .card {
    padding: 10px;
    margin-bottom: 10px;
  }

  h1 {
    font-size: 1.3rem;
  }

  .btn-sm {
    padding: 4px 8px;
    font-size: 10px;
  }

  .account-name {
    font-size: 12px;
  }

  .platform-checkbox label {
    font-size: 10px;
  }

  th,
  td {
    padding: 6px 4px;
  }

  .content-cell {
    min-width: 100px;
    font-size: 10px;
    line-height: 1.3;
  }

  .table-container {
    overflow-x: auto;
    width: 100%;
    max-width: 100vw;
  }

  table {
    min-width: 0;
    width: 100%;
    table-layout: auto;
  }

  /* Çok küçük ekranlar için video dosya optimizasyonu */
  .file-item-table .file-link {
    font-size: 12px !important;
    word-break: break-all;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .file-item-table {
    padding: 6px;
    margin-bottom: 4px;
  }

  .download-btn {
    font-size: 10px;
    padding: 4px 8px;
  }

  .download-all-btn {
    padding: 5px 10px;
    font-size: 10px;
  }
}

/* Upload Progress */
.upload-progress {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border: 1px solid #e0e6ed;
  border-radius: 6px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
}

.progress-info #progressText {
  color: #2c3e50;
}

.progress-info #progressPercent {
  color: #3498db;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 10px;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 0%;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 30px 30px;
  animation: progress-animation 1s linear infinite;
}

@keyframes progress-animation {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 30px 0;
  }
}

.upload-speed {
  margin-top: 6px;
  font-size: 11px;
  color: #666;
  text-align: center;
}

/* Sayfalama Stilleri */
.posts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.date-time-filter {
  margin-top: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e0e6ed;
}

.date-time-filter-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 10px;
  align-items: end;
}

.date-time-filter-inputs > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.date-time-filter-inputs > div:first-child,
.date-time-filter-inputs > div:nth-child(2) {
  min-width: 0;
}

.date-time-filter-inputs label {
  font-size: 12px;
  font-weight: 500;
  color: #555;
}

.date-time-filter-inputs input[type="date"],
.date-time-filter-inputs input[type="time"] {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  /* iOS ve Android için optimizasyonlar */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-height: 44px; /* iOS touch-friendly minimum boyut */
  touch-action: manipulation;
  line-height: 1.5;
}

.date-time-filter-inputs input[type="date"]:focus,
.date-time-filter-inputs input[type="time"]:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* iOS Safari için özel düzenlemeler */
@supports (-webkit-touch-callout: none) {
  .date-time-filter-inputs input[type="date"],
  .date-time-filter-inputs input[type="time"] {
    font-size: 16px; /* iOS Safari zoom önleme */
    padding: 12px 14px;
    min-height: 44px;
    line-height: 1.5;
  }
  
  .date-time-filter-inputs label {
    font-size: 14px;
  }
}

/* Android Chrome için özel düzenlemeler */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .date-time-filter-inputs input[type="date"],
  .date-time-filter-inputs input[type="time"] {
    min-height: 48px; /* Android Material Design minimum */
    line-height: 1.5;
  }
}

/* Tüm mobil cihazlar için genel optimizasyonlar */
@media (hover: none) and (pointer: coarse) {
  .date-time-filter-inputs input[type="date"],
  .date-time-filter-inputs input[type="time"] {
    font-size: 16px; /* Touch cihazlar için minimum font boyutu */
    padding: 12px 14px;
    min-height: 48px;
    cursor: pointer;
  }
  
  .date-time-filter-inputs button {
    min-height: 48px;
    cursor: pointer;
  }
  
  .date-time-filter-inputs label {
    font-size: 14px;
    cursor: pointer;
  }
}

.date-time-filter-inputs button {
  white-space: nowrap;
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

#searchInput {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  width: 200px;
  transition: all 0.2s ease;
}

#searchInput:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

#todayFilterBtn.active {
  background-color: #2980b9;
  color: white;
}

.posts-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.posts-info span {
  font-size: 13px;
  color: #666;
}

.posts-per-page-info {
  font-weight: 500;
}

.pagination-container {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e0e6ed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.pagination-info {
  font-size: 13px;
  color: #666;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-numbers {
  display: flex;
  gap: 4px;
  align-items: center;
}

.page-number {
  padding: 6px 10px;
  border: 1px solid #ddd;
  background: white;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 32px;
  text-align: center;
}

.page-number:hover {
  border-color: #3498db;
  background: #f8f9fa;
}

.page-number.active {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.page-number.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sayfalama Mobil Responsive */
@media (max-width: 768px) {
  .posts-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .filter-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  #searchInput {
    width: 100%;
    box-sizing: border-box;
  }

  #todayFilterBtn {
    width: 100%;
  }

  .content-type-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .content-type-filter button {
    flex: 1;
    min-width: calc(50% - 4px);
  }

  .posts-info {
    align-items: flex-start;
  }

  .pagination-container {
    flex-direction: column;
    gap: 10px;
  }

  .pagination-controls {
    justify-content: center;
    width: 100%;
  }

  .page-numbers {
    order: -1;
    justify-content: center;
    width: 100%;
  }

  .date-time-filter {
    padding: 10px;
    margin-top: 10px;
  }

  .date-time-filter-inputs {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 8px;
    align-items: end;
  }

  .date-time-filter-inputs > div {
    width: 100%;
    min-width: 0;
  }

  .date-time-filter-inputs > div:first-child,
  .date-time-filter-inputs > div:nth-child(2) {
    min-width: 0;
  }

  .date-time-filter-inputs input[type="date"],
  .date-time-filter-inputs input[type="time"] {
    width: 100%;
    padding: 12px 8px;
    font-size: 16px; /* iOS Safari zoom önleme için minimum 16px */
    box-sizing: border-box;
    min-height: 48px; /* Touch-friendly boyut */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .date-time-filter-inputs button {
    grid-column: span 1;
    width: 100%;
    padding: 12px 6px;
    font-size: 12px;
    margin-top: 0;
    min-height: 48px; /* Touch-friendly boyut */
    touch-action: manipulation;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .date-time-filter-inputs label {
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .filter-controls {
    gap: 8px;
  }

  .content-type-filter {
    gap: 6px;
  }

  .content-type-filter button {
    min-width: calc(50% - 3px);
    font-size: 11px;
    padding: 6px 8px;
  }

  .date-time-filter {
    padding: 8px;
    margin-top: 8px;
  }

  .date-time-filter-inputs {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 6px;
    align-items: end;
  }

  .date-time-filter-inputs > div {
    min-width: 0;
  }

  .date-time-filter-inputs input[type="date"],
  .date-time-filter-inputs input[type="time"] {
    padding: 10px 6px;
    font-size: 16px; /* iOS Safari zoom önleme için minimum 16px */
    min-height: 48px; /* Touch-friendly boyut */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
  }

  .date-time-filter-inputs button {
    grid-column: span 1;
    padding: 12px 4px;
    font-size: 11px;
    min-height: 48px; /* Touch-friendly boyut */
    touch-action: manipulation;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .date-time-filter-inputs label {
    font-size: 12px;
    margin-bottom: 6px;
  }
}

/* iOS ve Android için ekstra küçük ekranlar (320px ve altı) */
@media (max-width: 320px) {
  .date-time-filter {
    padding: 8px;
  }

  .date-time-filter-inputs {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 6px;
    align-items: end;
  }

  .date-time-filter-inputs > div {
    min-width: 0;
  }

  .date-time-filter-inputs input[type="date"],
  .date-time-filter-inputs input[type="time"] {
    padding: 10px 6px;
    font-size: 16px; /* iOS Safari için minimum */
    min-height: 44px;
    width: 100%;
  }

  .date-time-filter-inputs button {
    grid-column: span 1;
    padding: 10px 4px;
    font-size: 11px;
    min-height: 44px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Landscape mod için mobil cihazlar */
@media (max-width: 768px) and (orientation: landscape) {
  .date-time-filter-inputs {
    grid-template-columns: 1fr 1fr auto auto;
    gap: 10px;
    align-items: end;
  }

  .date-time-filter-inputs button {
    grid-column: span 1;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .pagination-controls {
    gap: 4px;
  }

  .pagination-controls .btn-sm {
    padding: 4px 8px;
    font-size: 11px;
  }

  .page-number {
    padding: 4px 8px;
    font-size: 11px;
    min-width: 28px;
  }

  /* Story mobil uyumluluk */
  .story-title.clickable-story-title {
    padding: 8px 10px;
    margin: -8px -10px;
    min-height: 44px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
  }

  .story-link a {
    padding: 8px 10px;
    margin: -8px -10px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    touch-action: manipulation;
  }
}

/* Copy tooltip animasyonu */
.copy-tooltip {
  animation: fadeInOut 2s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
  }
  15%,
  85% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Touch özelleştirmeleri */
@media (hover: none) and (pointer: coarse) {
  .story-title.clickable-story-title,
  .story-link a {
    padding: 12px 14px;
    margin: -12px -14px;
    min-height: 48px;
  }

  .story-title.clickable-story-title:hover,
  .story-link a:hover {
    transform: none;
    background-color: #e3f2fd;
  }
}

/* Modern Posts Container */
.posts-container {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.no-posts-message {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 2px dashed #dee2e6;
}

.no-posts-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.7;
}

.no-posts-message h3 {
  color: #6c757d;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.no-posts-message p {
  color: #6c757d;
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Modern Post Card - Accordion Version */
.post-card {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: #3498db;
}

.post-card.expanded {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: #3498db;
}

/* Accordion Header - Always Visible */
.post-card-accordion-header {
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.post-card-accordion-header:hover {
  background: #f8f9fa;
}

.post-card.expanded .post-card-accordion-header {
  border-bottom-color: #e9ecef;
  background: #f8f9fa;
}

.post-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 15px;
  padding-left: 24px;
}

.post-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.content-type-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-type-badge-modern.post {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.content-type-badge-modern.story {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.post-card-id {
  font-size: 0.8rem;
  color: #6c757d;
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.post-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.post-card-summary {
  margin-bottom: 12px;
}

.post-summary-content {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-line;
  word-wrap: break-word;
}

.post-summary-content.empty {
  color: #6c757d;
  font-style: italic;
}

.post-summary-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.8rem;
  color: #6c757d;
  flex-wrap: wrap;
}

.post-summary-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.post-summary-meta-item.has-files {
  background: #e3f2fd;
  border-color: #3498db;
  color: #2980b9;
}

.post-summary-meta-item.has-progress {
  background: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.post-summary-meta-item.plan-meta {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #303f9f;
  font-weight: 600;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
  margin-top: 8px;
  transition: all 0.2s ease;
}

/* Accordion toggle button styles */
.accordion-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
  margin-top: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  /* Accordion açıkken altta göstermek için */
  position: relative;
  z-index: 10;
}

.accordion-toggle-btn:hover {
  color: #3498db;
  border-color: #3498db;
  background: rgba(52, 152, 219, 0.05);
}

.accordion-toggle-btn:active {
  transform: translateY(1px);
}

/* Accordion açıkken butonu en alta taşı */
.post-card.expanded .accordion-toggle-btn {
  margin-top: 0;
  margin-bottom: 8px;
  order: 999;
}

/* Detayları gizle butonunu en altta konumlandır */
.post-card.expanded [id^="accordion-toggle-bottom-"] {
  position: sticky;
  bottom: 0;
  z-index: 100;
  background: white;
  border-top: 1px solid #e9ecef;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-toggle-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.accordion-toggle-text {
  font-size: 0.8rem;
  font-weight: 500;
}

.post-card.expanded .accordion-toggle-icon {
  transform: rotate(90deg);
}

.accordion-toggle:hover {
  color: #3498db;
}

/* Accordion Content - Collapsible */
.post-card-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
  display: flex;
  flex-direction: column;
}

.post-card.expanded .post-card-accordion-content {
  max-height: 2000px;
}

.post-card-content {
  padding: 0 24px 24px 24px;
  flex: 1;
}

/* Detayları gizle butonunu en altta sabitlemek için */
.post-card.expanded
  .post-card-accordion-content
  [id^="accordion-toggle-bottom-"] {
  margin-top: auto;
  margin-bottom: 0;
  border-radius: 0 0 6px 6px;
  border-top: 1px solid #e9ecef;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.post-content-section {
  margin-bottom: 16px;
}

.post-content-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.post-content-value {
  font-size: 0.9rem;
  color: #2c3e50;
  line-height: 1.5;
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid #3498db;
  position: relative;
  white-space: pre-line;
  word-wrap: break-word;
}

.post-content-value.empty {
  color: #6c757d;
  font-style: italic;
  border-left-color: #dee2e6;
}

.copy-content-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 6px 8px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.8;
}

.copy-content-btn:hover {
  opacity: 1;
  transform: scale(1.05);
}

.post-content-value:hover .copy-content-btn {
  opacity: 1;
}

.post-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.post-card-grid-item {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.post-card-grid-item:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}

.post-card-grid-item .post-content-label {
  color: #495057;
  margin-bottom: 8px;
}

.post-card-grid-item .post-content-value {
  background: white;
  margin: 0;
  padding: 10px;
  border-radius: 6px;
  border-left: none;
  border: 1px solid #dee2e6;
  font-weight: 500;
}

.post-files-section {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e9ecef;
}

.post-files-list {
  display: grid;
  gap: 12px;
}

.post-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
}

.post-file-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.post-file-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.post-file-info {
  flex: 1;
  min-width: 0;
}

.post-file-name {
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 4px;
  word-break: break-all;
  font-size: 0.9rem;
}

.post-file-size {
  font-size: 0.8rem;
  color: #6c757d;
}

.post-file-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.file-action-btn {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.file-action-btn.view {
  background: #3498db;
  color: white;
}

.file-action-btn.download {
  background: #27ae60;
  color: white;
}

.file-action-btn:hover {
  transform: scale(1.05);
  filter: brightness(110%);
}

.post-progress-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e9ecef;
}

.progress-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.progress-summary:hover {
  background: rgba(52, 152, 219, 0.1);
}

.progress-summary-text {
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-count {
  background: #3498db;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.progress-toggle {
  color: #6c757d;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.progress-toggle.expanded {
  transform: rotate(90deg);
}

.progress-details {
  display: none;
  margin-top: 12px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 4px;
}

.progress-details.show {
  display: block;
}

.progress-platform-group {
  margin-bottom: 16px;
  background: white;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #dee2e6;
}

.progress-platform-title {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-accounts {
  display: grid;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}

.progress-account-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.progress-account-item:hover {
  background: #e9ecef;
}

.progress-account-checkbox {
  margin: 0;
}

.progress-account-label {
  flex: 1;
  font-size: 0.85rem;
  color: #495057;
  cursor: pointer;
}

.progress-account-item.completed {
  background: #d4edda;
  border: 1px solid #c3e6cb;
}

.progress-account-item.completed .progress-account-label {
  color: #155724;
  font-weight: 500;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-top: 16px;
  border-top: 1px solid #e9ecef;
}

.post-status-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-select-modern {
  padding: 8px 12px;
  border: 2px solid #e9ecef;
  border-radius: 20px;
  background: white;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 140px;
}

.status-select-modern:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.status-select-modern.status-planlandı {
  border-color: #3498db;
  color: #3498db;
  background: #e3f2fd;
}

.status-select-modern.status-yapıldı {
  border-color: #27ae60;
  color: #27ae60;
  background: #d5f4e6;
}

.status-select-modern.status-beklemede {
  border-color: #f39c12;
  color: #f39c12;
  background: #fef9e7;
}

.status-select-modern.status-iptal {
  border-color: #e74c3c;
  color: #e74c3c;
  background: #fdeaea;
}

.post-meta-info {
  font-size: 0.8rem;
  color: #6c757d;
  text-align: right;
}

.post-created-date {
  font-weight: 500;
  margin-bottom: 2px;
}

.post-scheduled-info {
  opacity: 0.8;
}

.post-card-actions .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.btn-icon {
  padding: 8px 12px;
  border-radius: 50%;
  min-width: auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Design for Modern Cards */
@media (max-width: 768px) {
  .post-card {
    margin-bottom: 12px;
  }

  .post-card-accordion-header {
    padding: 16px;
  }

  .post-card-content {
    padding: 0 16px 16px 16px;
  }

  .post-card-header {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .post-card-title {
    justify-content: space-between;
  }

  .post-card-actions {
    justify-content: flex-end;
  }

  .post-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .post-card-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .post-status-section {
    justify-content: space-between;
  }

  .post-meta-info {
    text-align: left;
  }

  .progress-summary {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .progress-summary-text {
    justify-content: space-between;
  }

  .post-summary-meta {
    gap: 8px;
  }

  .accordion-toggle {
    justify-content: center;
  }

  .accordion-toggle-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .post-card-accordion-header {
    padding: 12px;
  }

  .post-card-content {
    padding: 0 12px 12px 12px;
  }

  .content-type-badge-modern {
    padding: 6px 10px;
    font-size: 0.7rem;
  }

  .post-content-value {
    padding: 10px;
    font-size: 0.85rem;
  }

  .post-card-grid-item {
    padding: 12px;
  }

  .post-files-section,
  .post-progress-section {
    padding: 12px;
  }

  .post-file-item {
    padding: 10px;
  }

  .btn-icon {
    width: 32px;
    height: 32px;
  }

  .post-summary-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .post-summary-meta-item {
    justify-content: center;
  }
}

/* Edit Mode Styles */
.post-card.edit-mode {
  border-color: #f39c12;
  box-shadow: 0 8px 30px rgba(243, 156, 18, 0.15);
}

.post-card.edit-mode .post-card-accordion-header {
  background: #fef9e7;
  border-bottom-color: #f39c12;
}

/* Edit mode'dayken accordion butonlarını devre dışı bırak */
.post-card.edit-mode .accordion-toggle-btn {
  pointer-events: none !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

.post-card.edit-mode .accordion-toggle-btn:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

.edit-form-section {
  background: #fef9e7;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 2px solid #f39c12;
}

.edit-form-group {
  margin-bottom: 16px;
}

.edit-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #856404;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.edit-form-input,
.edit-form-textarea,
.edit-form-select {
  width: 100%;
  padding: 12px;
  border: 2px solid #ffc107;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: white;
}

.edit-form-input:focus,
.edit-form-textarea:focus,
.edit-form-select:focus {
  outline: none;
  border-color: #f39c12;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.edit-form-textarea {
  resize: vertical;
  min-height: 80px;
}

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

.plan-info-banner {
  background: #fff9db;
  border: 1px dashed #f0c36d;
  border-radius: 10px;
  padding: 12px;
  color: #7a5c00;
}

.plan-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.plan-info-banner p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.post-content-value.plan-detail {
  font-weight: 500;
  color: #1f2a37;
}

.edit-content-type-options {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.edit-radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border: 2px solid #ffc107;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.edit-radio-option:hover {
  border-color: #f39c12;
  background: #fff8e1;
}

.edit-radio-option input[type="radio"]:checked + span {
  color: #f39c12;
  font-weight: 600;
}

.edit-radio-option:has(input:checked) {
  border-color: #f39c12;
  background: #fff8e1;
}

.edit-accounts-section {
  background: white;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #ffc107;
  max-height: 300px;
  overflow-y: auto;
}

.edit-accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.edit-account-group {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.edit-account-group-title {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.edit-account-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  margin-bottom: 4px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.edit-account-item:hover {
  background: #e9ecef;
}

.edit-account-item input[type="checkbox"] {
  margin: 0;
}

.edit-account-item label {
  flex: 1;
  font-size: 0.85rem;
  color: #495057;
  cursor: pointer;
}

.edit-file-upload-section {
  background: white;
  padding: 16px;
  border-radius: 8px;
  border: 2px dashed #ffc107;
  text-align: center;
  transition: all 0.2s ease;
}

.edit-file-upload-section:hover {
  border-color: #f39c12;
  background: #fff8e1;
}

.edit-file-input {
  width: 100%;
  padding: 12px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.edit-existing-files {
  margin-top: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
}

.edit-existing-files-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 8px;
}

.edit-existing-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: white;
  border-radius: 4px;
  margin-bottom: 4px;
  font-size: 0.85rem;
}

.edit-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 2px solid #ffc107;
  margin-top: 16px;
}

.edit-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.edit-btn.save {
  background: #27ae60;
  color: white;
}

.edit-btn.save:hover {
  background: #219a52;
  transform: scale(1.05);
}

.edit-btn.cancel {
  background: #6c757d;
  color: white;
}

.edit-btn.cancel:hover {
  background: #5a6268;
  transform: scale(1.05);
}

.edit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.edit-mode-indicator {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 4px;
  background: linear-gradient(90deg, #f39c12, #ffc107, #f39c12);
  border-radius: 16px 16px 0 0;
  animation: editPulse 2s infinite;
}

@keyframes editPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Hidden elements during edit mode */
.post-card.edit-mode .post-card-accordion-content {
  display: none;
}

.post-card.edit-mode .accordion-toggle {
  display: none;
}

.post-card.edit-mode .accordion-toggle-btn {
  display: none;
}

/* Responsive edit mode */
@media (max-width: 768px) {
  .edit-form-grid {
    grid-template-columns: 1fr;
  }

  .edit-accounts-grid {
    grid-template-columns: 1fr;
  }

  .edit-content-type-options {
    flex-direction: column;
    gap: 8px;
  }

  .edit-actions {
    flex-direction: column;
    gap: 8px;
  }

  .edit-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .edit-form-section {
    padding: 12px;
  }

  .edit-form-input,
  .edit-form-textarea,
  .edit-form-select {
    padding: 10px;
    font-size: 0.85rem;
  }

  .edit-accounts-section {
    max-height: 200px;
  }
}

/* Drag and Drop Stilleri */
.post-card {
  cursor: move;
  transition: all 0.3s ease;
}

.post-card.edit-mode {
  cursor: default;
}

.post-card:hover {
  transform: translateY(-2px);
}

.post-card.dragging {
  opacity: 0.5 !important;
  transform: rotate(5deg) scale(0.95);
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.post-card.drag-over {
  border: 2px dashed #3498db;
  background: rgba(52, 152, 219, 0.1);
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.post-card.drag-over::before {
  content: "📋 Buraya bırak";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #3498db;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  z-index: 10;
  pointer-events: none;
}

/* Sürükleme sırasında diğer kartları hafif soluklaştır */
.posts-container:has(.post-card.dragging) .post-card:not(.dragging) {
  opacity: 0.7;
}

/* Drag handle için görsel ipucu */
.post-card-accordion-header {
  position: relative;
}

.post-card-accordion-header::before {
  content: "⋮⋮";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #bdc3c7;
  font-size: 16px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.post-card:hover .post-card-accordion-header::before {
  opacity: 0.6;
}

.post-card.dragging .post-card-accordion-header::before {
  opacity: 1;
  color: #3498db;
}

/* Mobil cihazlar için touch desteği */
@media (hover: none) and (pointer: coarse) {
  .post-card-accordion-header::before {
    opacity: 0.4;
  }

  .post-card:active .post-card-accordion-header::before {
    opacity: 1;
    color: #3498db;
  }
}

/* Durum Header Stilleri */
.post-status-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #dee2e6;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px 8px 0 0;
  position: relative;
}

.status-label {
  font-size: 11px;
  font-weight: 600;
  color: #6c757d;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.post-title-header {
  flex: 1;
  text-align: center;
  padding: 0 15px;
}

.post-title-header strong {
  font-size: 14px;
  color: #2c3e50;
  font-weight: 600;
}

.status-dropdown-container {
  position: relative;
}

.status-dropdown-header {
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 20px;
  padding: 6px 16px 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  outline: none;
  appearance: none;
  min-width: 120px;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 32px;
}

.status-dropdown-header:hover {
  border-color: #adb5bd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-dropdown-header:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Durum renklerine göre stil */
.status-dropdown-header.status-planlandı {
  border-color: #3498db;
  background: linear-gradient(135deg, #ebf3fd 0%, #d6eaff 100%);
  color: #2980b9;
}

.status-dropdown-header.status-yapıldı {
  border-color: #27ae60;
  background: linear-gradient(135deg, #eafaf1 0%, #d5f4e6 100%);
  color: #229954;
}

.status-dropdown-header.status-beklemede {
  border-color: #f39c12;
  background: linear-gradient(135deg, #fef9e7 0%, #fcf3cf 100%);
  color: #e67e22;
}

.status-dropdown-header.status-iptal {
  border-color: #e74c3c;
  background: linear-gradient(135deg, #fdf2f2 0%, #fadbd8 100%);
  color: #c0392b;
}

/* Mobil uyumlu hale getir */
@media (max-width: 768px) {
  .post-status-header {
    padding: 10px 12px;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .status-dropdown-header {
    min-width: 100px;
    font-size: 12px;
    padding: 5px 12px 5px 10px;
  }

  .status-label {
    font-size: 10px;
  }
}

/* Progress scrollbar styles */
.progress-details::-webkit-scrollbar,
.progress-accounts::-webkit-scrollbar {
  width: 6px;
}

.progress-details::-webkit-scrollbar-track,
.progress-accounts::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.progress-details::-webkit-scrollbar-thumb,
.progress-accounts::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
  transition: background 0.2s ease;
}

.progress-details::-webkit-scrollbar-thumb:hover,
.progress-accounts::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Firefox scrollbar */
.progress-details,
.progress-accounts {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}

/* Progress scroll indicators */
.progress-details {
  position: relative;
}

.progress-details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 15px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(52, 152, 219, 0.8),
    rgba(52, 152, 219, 0.3)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.progress-details::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 15px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(52, 152, 219, 0.3),
    rgba(52, 152, 219, 0.8)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.progress-details.can-scroll-up::before {
  opacity: 1;
}

.progress-details.can-scroll-down::after {
  opacity: 1;
}

/* Planlama modülü */
.schedule-planner {
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed #d7dce3;
  border-radius: 14px;
  background: #f9fafc;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.planner-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .planner-top {
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
  }
}

.planner-description {
  font-size: 13px;
  color: #5b6472;
  margin-top: 4px;
}

.planner-mode-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-option.small span {
  font-size: 13px;
  font-weight: 500;
}

.planner-mode-fields {
  display: none;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.planner-mode-fields.active {
  display: grid;
}

.planner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn.btn-outline {
  background: transparent;
  border: 1px solid #1f6feb;
  color: #1f6feb;
}

.btn.btn-outline:hover {
  background: rgba(31, 111, 235, 0.08);
}

.btn.btn-text {
  background: transparent;
  border: none;
  color: #7a869a;
  font-weight: 600;
}

.planned-dates-wrapper {
  border: 1px solid #dfe3eb;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.planned-dates-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
  color: #1f2a37;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 2px 8px;
  background: #e8eefb;
  color: #1f6feb;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.planned-dates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.planned-date-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e6e9f1;
  border-radius: 10px;
  padding: 8px 12px;
  background: #f6f8fc;
  font-size: 14px;
}

.planned-date-item span {
  font-weight: 500;
  color: #253048;
}

.plan-entries-section {
  margin-top: 18px;
  border: 1px solid #e1e7f5;
  border-radius: 12px;
  background: #f9fbff;
  padding: 12px;
}

.plan-entries-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: #1f2a37;
  margin-bottom: 10px;
}

.plan-entries-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.plan-entry-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e7ecfa;
  border-radius: 10px;
  padding: 8px 12px;
  background: #fff;
  gap: 12px;
}

.plan-entry-item.plan-entry-current {
  border-color: #1f6feb;
  box-shadow: 0 0 0 2px rgba(31, 111, 235, 0.15);
}

.plan-entry-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #253048;
}

.plan-entry-date {
  font-weight: 600;
}

.plan-entry-seq {
  font-size: 12px;
  color: #6279c6;
  font-weight: 600;
}

.plan-entry-actions {
  display: flex;
  gap: 6px;
}

.plan-entry-btn {
  border: 1px solid #cad5f5;
  background: #eef2ff;
  color: #1f3a93;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
}

.plan-entry-btn:hover {
  background: #d9e0ff;
}

.plan-entry-btn.danger {
  border-color: #fbd5d5;
  background: #feecec;
  color: #c53030;
}

.post-card.plan-highlight {
  transition: box-shadow 0.2s ease;
  box-shadow: 0 0 0 2px rgba(31, 111, 235, 0.3),
    0 12px 20px rgba(0, 0, 0, 0.08);
}

.planned-date-item.planned-date-empty {
  justify-content: center;
  color: #7a869a;
  font-style: italic;
}

.remove-date-btn {
  border: none;
  background: transparent;
  color: #d14343;
  font-weight: 600;
  cursor: pointer;
}

.planner-hint {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

