/* Profile Page Styles */
.profile-image {
  border: 3px solid var(--dark-bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.profile-placeholder {
  border: 3px solid var(--dark-bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Card Styles */
.card {
  background-color: var(--dark-bg-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header {
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--text-light-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
  padding: 1rem;
  color: var(--text-light-color);
}

.card-header h5 {
  margin: 0;
  color: var(--text-light-color);
}

/* List Group */
.list-group {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-group-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light-color);
}

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

.list-group-flush .list-group-item {
  border-right: 0;
  border-left: 0;
}

/* Badge styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50rem;
  text-align: center;
}

.bg-primary {
  background-color: var(--primary-color) !important;
  color: white;
}

.bg-success {
  background-color: var(--success-color) !important;
  color: white;
}

.bg-info {
  background-color: rgba(23, 162, 184, 0.85) !important;
  color: white !important;
}

.bg-secondary {
  background-color: rgba(108, 117, 125, 0.8) !important;
  color: white;
}

.rounded-pill {
  border-radius: 50rem;
}

/* Progress bar */
.progress {
  display: flex;
  height: 1rem;
  overflow: hidden;
  font-size: 0.75rem;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: var(--primary-color);
  transition: width 0.6s ease;
}

/* Grid system (enhanced Bootstrap-like) */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  box-sizing: border-box;
}

.col-md-4, .col-md-6, .col-md-8, .col-md-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

/* Column base styles - mobile first */
.col-md-4, .col-md-6, .col-md-8, .col-md-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Medium devices */
@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Spacing utilities */
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }

.mt-4 { margin-top: 1.5rem !important; }

.me-2 { margin-right: 0.5rem !important; }

.p-3 { padding: 1rem !important; }

/* Display utilities */
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }

.gap-2 { gap: 0.5rem !important; }

.w-100 { width: 100% !important; }

/* Text utilities */
.text-center { text-align: center !important; }
.text-muted { color: rgba(255, 255, 255, 0.6) !important; }
.text-dark { color: rgba(255, 255, 255, 0.8) !important; }

/* Button variants */
.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: rgba(52, 152, 219, 0.8);
}

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

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

.btn-block {
  display: block;
  width: 100%;
}

/* Alert component */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

.alert-info {
  background-color: rgba(23, 162, 184, 0.2);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 162, 184, 0.3);
}

.alert-link {
  font-weight: 600;
  text-decoration: underline;
  color: var(--primary-color);
}

/* Icon styles */
.bi {
  display: inline-block;
  vertical-align: -0.125em;
}

/* Dark theme specific */
.profile-container {
  background-color: var(--dark-bg-color);
  color: var(--text-light-color);
}

body {
  background-color: var(--dark-bg-color);
}

h3, h4, h5, h6 {
  color: var(--text-light-color);
}

.repo-link {
  color: var(--primary-color);
}

.repo-link:hover {
  color: rgba(52, 152, 219, 0.8);
}

.repository-list .list-group-item {
  background-color: rgba(0, 0, 0, 0.1);
}

.repository-list .list-group-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

main {
  background-color: var(--dark-bg-color);
} 