@import url('https://fonts.googleapis.com/css?family=Public+Sans:400,500,700&display=swap');

.announcements-container {
  background: #23273a;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 32px 32px 24px 32px;
  color: #eaf6fb;
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
  position: relative;
}
.announcements-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.announcement-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.announcement-item {
  position: relative;
  margin-bottom: 38px;
  padding-left: 44px;
  background: rgba(255,255,255,0.01);
  border-radius: 12px;
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 12px 0 rgba(0,242,254,0.04);
}
.announcement-item:last-child { margin-bottom: 0; }
.announcement-item:hover {
  background: #232f3e;
  box-shadow: 0 4px 24px #00f2fe22;
}
.announcement-dot {
  position: absolute;
  left: -2px;
  top: 22px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #a084ee 0%, #00f2fe 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px #00f2fe77;
  border: 3px solid #23273a;
  z-index: 2;
}
.announcement-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
  gap: 12px;
}
.announcement-title-text {
  font-size: 1.18rem;
  font-weight: 700;
  color: #00f2fe;
  letter-spacing: 0.01em;
  flex: 1;
  white-space: pre-line;
}
.announcement-date {
  font-size: 0.98rem;
  color: #b6eaff;
  font-weight: 500;
  min-width: 120px;
  text-align: right;
}
.announcement-content {
  font-size: 1.08rem;
  color: #eaf6fb;
  margin: 10px 0 18px 0;
  line-height: 1.7;
  word-break: break-word;
}
.announcement-author {
  display: flex;
  align-items: center;
  position: absolute;
  right: 18px;
  bottom: 12px;
  background: rgba(0,242,254,0.08);
  border-radius: 8px;
  padding: 4px 10px 4px 4px;
  box-shadow: 0 2px 8px #00f2fe22;
}
.announcement-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 8px;
  object-fit: cover;
  border: 2px solid #00f2fe;
}
.announcement-author-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.announcement-author-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}
.announcement-author-role {
  font-size: 0.92rem;
  color: #b6eaff;
  line-height: 1.1;
}

/* Timeline çizgisi */
.announcement-timeline:before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00f2fe 0%, #a084ee 100%);
  opacity: 0.18;
  z-index: 0;
  border-radius: 2px;
}

@media (max-width: 600px) {
  .announcements-container { padding: 12px 2px; }
  .announcement-header { flex-direction: column; align-items: flex-start; gap: 2px; }
  .announcement-item { padding-left: 28px; }
  .announcement-dot { width: 12px; height: 12px; left: -4px; }
  .announcement-author { position: static; margin-top: 10px; }
}

.welcome-panel {
  max-width: none !important;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
@media (min-width: 1200px) {
  .welcome-panel {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.welcome-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.welcome-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: transparent;
  object-fit: contain;
  box-shadow: 0 2px 12px #00f2fe22;
  margin-left: 32px;
  align-self: flex-end;
}
@media (max-width: 700px) {
  .welcome-panel {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    padding: 16px 8px;
    min-height: unset;
  }
  .welcome-avatar {
    margin-left: 0;
    margin-top: 12px;
    width: 60px;
    height: 60px;
    align-self: center;
  }
} 