.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.brand-icon {
  width: 45px;
  height: 45px;
  background: #222;
  border: 2px solid #ffaa00;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.2);
}

.brand-icon::before {
  content: "S";
  color: #ffaa00;
  font-weight: 900;
  font-size: 24px;
  position: absolute;
  left: 8px;
  top: 2px;
}

.brand-icon::after {
  content: "F";
  color: #fff;
  font-weight: 900;
  font-size: 24px;
  position: absolute;
  right: 8px;
  bottom: 2px;
}

.brand-text {
  font-family: "Segoe UI", sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #eee;
}

.brand-text span {
  color: #ffaa00;
  font-weight: 900;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #111;
  color: white;
  padding: 20px;
  margin: 0;
}

.container {
  max-width: 900px;
  margin: auto;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.create-box {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #333;
  margin-bottom: 30px;
}

input {
  width: 100%;
  padding: 12px;
  background: #222;
  border: 1px solid #444;
  color: white;
  border-radius: 6px;
  margin: 10px 0;
  box-sizing: border-box;
}

.admin-logout {
  color: grey;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #ff4444;
  border-radius: 6px;
  transition: 0.3s;
  white-space: nowrap;
}

.admin-logout:hover {
  color: #ff4444;
}

.primary-btn {
  width: 100%;
  padding: 12px;
  color: #ffaa00;
  border: 1px solid #ffaa00 !important;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.primary-btn:hover {
  background: #ffaa00;
  color: #000;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.story-card {
  background: #1a1a1a;
  border-radius: 10px;
  border: 1px solid #333;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-link {
  display: block;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  color: white;
  flex-grow: 1;
  transition: 0.2s;
}

.card-link:hover {
  background: #222;
}

.folder-icon {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
}

.card-actions {
  display: flex;
  border-top: 1px solid #333;
  background: #151515;
}

.action-btn {
  flex: 1;
  padding: 12px 5px;
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.2s;
  text-decoration: none;
  text-align: center;
  border-right: 1px solid #333;
}

.action-btn:last-child {
  border-right: none;
}

.action-btn:hover {
  background: #222;
  color: #ffaa00;
}

.btn-delete:hover {
  color: #ff4444;
}

.status-msg {
  background: #28a745;
  color: white;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 14px;
}

.story-date {
  display: block;
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  font-weight: bold;
}

.story-date::before {
  content: "●";
  color: #ffaa00;
  margin-right: 5px;
  font-size: 8px;
}

.card-preview-box {
  width: 100%;
  height: 160px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #333;
}

.card-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-link:hover .card-preview-box img {
  transform: scale(1.1);
}

.no-image-text {
  font-size: 11px;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 2px;
}
