/* Green Theme Override for Urban Estate Property */

:root {
  --primary-green: #10b981;
  --primary-green-dark: #059669;
  --primary-green-darker: #047857;
  --primary-green-light: #a7f3d0;
  --primary-green-lighter: #d1fae5;
}

/* Bootstrap Primary Color Override */
.btn-primary {
  background-color: #10b981 !important;
  border-color: #10b981 !important;
}

.btn-primary:hover {
  background-color: #059669 !important;
  border-color: #059669 !important;
}

.btn-primary:active,
.btn-primary.active {
  background-color: #047857 !important;
  border-color: #047857 !important;
}

.btn-primary:focus {
  background-color: #10b981 !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25) !important;
}

/* Badge Primary */
.badge.bg-primary {
  background-color: #10b981 !important;
}

.bg-primary {
  background-color: #10b981 !important;
}

.bg-primary-subtle {
  background-color: #d1fae5 !important;
}

/* Text Primary */
.text-primary {
  color: #10b981 !important;
}

.text-primary-emphasis {
  color: #047857 !important;
}

/* Border Primary */
.border-primary {
  border-color: #10b981 !important;
}

/* Links */
a {
  color: #10b981;
}

a:hover {
  color: #059669;
}

/* Hero Banner and Gradients */
.hero-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%) !important;
}

.photo-gallery-section {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(16, 185, 129, 0.01) 100%) !important;
}

.photo-gallery-section .display-6 {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery-overlay {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.85) 0%, rgba(4, 120, 87, 0.85) 100%) !important;
}

/* CTA Sections */
.cta-section {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
}

/* Stats Section */
.stat-card .text-primary {
  color: #10b981 !important;
}

/* Form Controls */
.form-control:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25) !important;
}

.form-check-input:checked {
  background-color: #10b981 !important;
  border-color: #10b981 !important;
}

.form-check-input:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25) !important;
}

/* Navbar and Header */
.navbar-brand {
  color: #10b981 !important;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #047857 !important;
}

/* Dropdown */
.dropdown-item.active {
  background-color: #10b981 !important;
}

.dropdown-item:active {
  background-color: #10b981 !important;
}

/* Pagination */
.pagination .page-link.active {
  background-color: #10b981 !important;
  border-color: #10b981 !important;
}

.page-link:focus {
  color: #10b981 !important;
  border-color: #10b981 !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25) !important;
}

/* Alerts */
.alert-primary {
  color: #047857 !important;
  background-color: #d1fae5 !important;
  border-color: #a7f3d0 !important;
}

/* Progress */
.progress-bar {
  background-color: #10b981 !important;
}

/* Spinners */
.spinner-border-sm {
  color: #10b981 !important;
}

/* Admin Panel */
.admin-sidebar a.active {
  background-color: #10b981 !important;
  color: white !important;
}

.admin-sidebar a:hover {
  background-color: #d1fae5 !important;
  color: #047857 !important;
}

/* Table */
table.table-striped > tbody > tr:nth-of-type(odd) > td {
  background-color: rgba(16, 185, 129, 0.05) !important;
}

table.table-hover > tbody > tr:hover {
  background-color: rgba(16, 185, 129, 0.15) !important;
}

/* Property Status Badges */
.property-status-badge {
  background-color: #10b981 !important;
  color: white !important;
}

.badge.bg-success {
  background-color: #10b981 !important;
}

.badge.bg-info {
  background-color: #0891b2 !important;
}

.badge.bg-warning {
  background-color: #d97706 !important;
}

.badge.bg-danger {
  background-color: #ef4444 !important;
}

/* Input Group Button */
.input-group-text {
  background-color: #ffffff;
  border-color: #dee2e6;
}

.input-group .btn-outline-secondary:hover,
.input-group .btn-outline-secondary:focus {
  color: #10b981 !important;
  border-color: #10b981 !important;
}

/* Card Borders and Accents */
.card {
  border-color: #d1fae5;
}

.card-header {
  background-color: #f0fdf4;
  border-color: #d1fae5;
}

/* Success Messages */
.alert-success {
  background-color: #f0fdf4 !important;
  border-color: #a7f3d0 !important;
  color: #047857 !important;
}

.text-success {
  color: #10b981 !important;
}

/* Smooth Transitions */
.btn,
a,
.form-control,
.form-check-input {
  transition: all 0.3s ease;
}
