/* Custom styles for improved UI */

:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #60a5fa;
  --success-color: #059669;
  --warning-color: #d97706;
  --danger-color: #dc2626;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --card-border-radius: 0.75rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Modern Card Styles */
.card {
  background: white;


}



.card-header {
  background: white !important;
  border-bottom: 1px solid var(--gray-200) !important;
  padding: 1.5rem !important;
  border-radius: calc(var(--card-border-radius) - 1px) calc(var(--card-border-radius) - 1px) 0 0 !important;
}

.card-header h5, .card-header h6 {
  color: var(--gray-800) !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 !important;
}

.card-header i {
  color: var(--primary-color);
}

.card-body {
  padding: 1.5rem !important;
}

/* Document Cards */
.documents-section .document-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--card-border-radius);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.documents-section .document-item:hover {
  border-color: var(--primary-color);
}

.documents-section .document-item i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  opacity: 0.9;
}

.documents-section .document-item h6 {
  color: var(--gray-800);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.documents-section .document-item p {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.documents-section .document-item .btn {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.2s ease;
}

.documents-section .document-item .btn:hover {
  background: var(--primary-color);
  color: white;
}

/* Circular Progress Bar */
.circular-progress,
.circular-progress-main {
  position: relative;
  width: 140px !important;
  height: 140px !important;
  margin: 0 auto 1.5rem;
}

.circular-progress svg,
.circular-progress-main svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circular-progress circle,
.circular-progress-main circle {
  fill: none;
  stroke-width: 8;
}

.circular-progress .progress-bg,
.circular-progress-main .progress-bg {
  stroke: var(--gray-200);
}

.circular-progress .progress-circle,
.circular-progress-main .progress-circle {
  stroke: var(--success-color);
  stroke-linecap: round;
}

.progress-value,
.progress-value-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.progress-value h5,
.progress-value-main h5 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.progress-value small,
.progress-value-main small {
  margin: 0;
  font-size: 1rem;
  color: var(--gray-600);
}

/* Stats Grid */
.stats-grid {
  background: white;
  border-radius: var(--card-border-radius);
  box-shadow: var(--shadow-sm);
  margin: 0.5rem 0 1.5rem;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.stats-item {
  padding: 0.75rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

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

.stats-item h6 {
  font-size: 1rem;
  margin-bottom: 0;
  font-weight: 600;
}

.stats-item small {
  color: var(--gray-600);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.25rem;
}

.stats-item .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Button Styles */
.btn-primary {
  background: var(--primary-color) !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 500 !important;
  border-radius: 0.5rem !important;
  transition: background-color 0.2s ease !important;
}

.btn-primary:hover {
  background: var(--primary-dark) !important;
}

.btn-outline-primary {
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
  border-radius: 0.5rem !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

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

/* Social Links */
.social-links a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--primary-color);
  margin: 0 0.5rem;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
}

/* Investment Tiers */
.investment-tier {
  background: white;
  border-radius: var(--card-border-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.investment-tier:hover {
  border-color: var(--primary-color);
}

.investment-tier h6 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.investment-tier h4 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Navigation */
.nav-link {
  position: relative;
  padding: 0.75rem 1rem !important;
  font-weight: 500 !important;
  color: var(--gray-600) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.2s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
}

/* Company logo styles */
.company-logo-large {
  width: 85px !important;
  height: 85px !important;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.logo-img {
  width: 55px !important;
  height: 55px !important;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

/* Campaign Stats Card */
.campaign-stats .card {
  background: #ffffff;
  position: relative;
}

.sidebar-left .campaign-stats .card-body {
  padding: 1.5rem !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-success {
  color: var(--success-color) !important;
}

/* Add investment status indicator */
.investment-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.investment-indicator .indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--success-color);
}

.investment-indicator .indicator-text {
  font-size: 0.875rem;
  color: var(--success-color);
  font-weight: 500;
} 