html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #1185fe;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f8f9fa;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  background-color: white;
}

/* Bluesky brand colors */
.text-bluesky {
  color: #1185fe !important;
}

.bg-bluesky {
  background-color: #1185fe !important;
}

.btn-primary {
  background-color: #1185fe;
  border-color: #1185fe;
}

.btn-primary:hover {
  background-color: #0e73d9;
  border-color: #0e73d9;
}

/* Hero section */
.hero-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin: -1.5rem -15px 2rem -15px;
  border-radius: 0 0 1rem 1rem;
}

/* Feature icons */
.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Profile specific styles */
.profile-avatar {
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.stat-item h3 {
  font-weight: 700;
}

.info-item {
  padding: 0.5rem;
  border-radius: 0.375rem;
  background-color: rgba(0,0,0,0.02);
}

/* Timeline styles */
.timeline-container {
  max-width: 600px;
  margin: 0 auto;
}

.timeline-post {
  transition: all 0.2s ease-in-out;
  border: 1px solid rgba(0,0,0,0.125);
}

.timeline-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.5;
}

.post-actions .btn-group {
  border-radius: 0.375rem;
  overflow: hidden;
}

/* Card enhancements */
.card {
  border-radius: 0.75rem;
  border: 1px solid rgba(0,0,0,0.1);
}

.card-header {
  background-color: rgba(17, 133, 254, 0.1);
  border-bottom: 1px solid rgba(17, 133, 254, 0.2);
}

/* OAuth info styles */
.oauth-info {
  border-left: 4px solid #1185fe;
}

/* Alert customizations */
.alert-info {
  background-color: rgba(17, 133, 254, 0.1);
  border-color: rgba(17, 133, 254, 0.2);
  color: #0f5ba9;
}

/* Character counter */
.character-count {
  font-family: monospace;
  font-weight: 600;
}

/* Embed indicator */
.embed-indicator .alert {
  border-left: 3px solid #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    margin: -1rem -15px 1rem -15px;
    padding: 2rem 0;
  }
  
  .timeline-post:hover {
    transform: none;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
}