/* Inline Loader Styles */
.inline-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  min-height: 60px;
}

.inline-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(44, 82, 43, 0.2);
  border-top-color: #2c522b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.inline-loader-text {
  color: #2c522b;
  font-size: 14px;
  font-weight: 500;
}

/* Full Page Loader Overlay */
.full-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.full-loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.full-loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(44, 82, 43, 0.2);
  border-top-color: #2c522b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.full-loader-text {
  color: #2c522b;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Button Spinner */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

/* Spinner Animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Loading state for buttons */
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Loading state for forms */
form.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Loading overlay for containers */
.loading-overlay {
  position: relative;
}

.loading-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-overlay::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid rgba(44, 82, 43, 0.2);
  border-top-color: #2c522b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 11;
}

