/* Dashboard Specific Styles */
.task-description {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #ffc107;
}

/* Session Timeout Modal Styles */
#sessionTimeoutModal .modal-header {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #000;
}

#sessionTimeoutModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#sessionTimeoutModal #countdown {
    font-weight: bold;
    color: #dc3545;
    font-size: 1.2em;
}

#sessionTimeoutModal .btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
}

#sessionTimeoutModal .btn-primary:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-1px);
}

#sessionTimeoutModal .btn-secondary {
    background: #6c757d;
    border: none;
}

.toggle-description {
    color: #6c757d;
    text-decoration: none;
}

.toggle-description:hover {
    color: #495057;
}

/* Make remove buttons always visible */
.remove-btn {
    border-width: 1px;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
}

.remove-btn:hover {
    background-color: #bb2d3b !important;
    border-color: #b02a37 !important;
    transform: scale(1.05);
}

/* Edit button styles */
.edit-btn {
    border-width: 1px;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.edit-btn:hover {
    transform: scale(1.05);
}

/* Ensure proper spacing for buttons */
.flex-shrink-0 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

/* Make sure list items don't block clicks */
.list-group-item {
    position: relative;
    z-index: 0;
}

/* Make sure badges and buttons are properly aligned */
.badge {
    padding: 0.35em 0.65em;
}

/* Edit form styles */
.edit-form {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.edit-field {
    margin-bottom: 10px;
}

/* Task Edit Form Styles */
.edit-task-form {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #0d6efd;
}

.edit-task-form .form-label {
    font-weight: 500;
}

.edit-task-form .form-control-sm,
.edit-task-form .form-select-sm {
    font-size: 0.875rem;
}

/* Filter Styles */
.filter-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
}

.filter-row {
    align-items: end;
}

.filter-group {
    margin-bottom: 0;
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

.filter-badge {
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.pet-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.pet-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.no-pets-message {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.filter-results {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Alert Styles */
.alert-dashboard {
    top: 20px;
    right: 20px;
    z-index: 1050;
    min-width: 300px;
}

:root {
  --primary-color: #4CAF50;
  --secondary-color: #2c3e50;
  --light-bg: #f9f9f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: var(--light-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container-custom {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

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

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

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

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

/* Navbar styling */
.navbar-custom {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: bold;
  color: var(--primary-color) !important;
}

/* Card styling */
.card-custom {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: none;
  border-radius: 0.5rem;
}

/* Button styling */
.btn-custom {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-custom:hover {
  background: #45a049;
  border-color: #45a049;
  color: white;
}

.btn-logout {
  background: #e74c3c;
  border-color: #e74c3c;
}

.btn-logout:hover {
  background: #c0392b;
  border-color: #c0392b;
}

/* Form styling */
.form-label {
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* Pet and task lists */
.pet-list, .task-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  .pet-list, .task-list {
    grid-template-columns: 1fr;
  }
}



/* Quick actions */
.action-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

@media (max-width: 768px) {
  .action-buttons {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Error and success messages */
.error {
  color: #e74c3c;
  background: #ffeaea;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  border-left: 4px solid #e74c3c;
}

.success {
  color: #27ae60;
  background: #eaffea;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  border-left: 4px solid #27ae60;
}

/* Community posts */
.community-post {
  border-left: 4px solid var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Priority badges */
.priority-high {
  background-color: #dc3545;
}

.priority-medium {
  background-color: #ffc107;
  color: #000;
}

.priority-low {
  background-color: #28a745;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .card-body {
    padding: 1rem;
  }
}

/* Footer styling */
.footer {
  margin-top: auto;
  padding: 1rem 0;
  background-color: #f8f9fa;
  text-align: center;
}


/* Add these new styles to your existing style.css */

/* Custom button outline variant */
.btn-outline-custom {
  color: #4CAF50;
  border-color: #4CAF50;
}

.btn-outline-custom:hover {
  color: #fff;
  background-color: #4CAF50;
  border-color: #4CAF50;
}

/* List group items */
.list-group-item {
  border-left: none;
  border-right: none;
}

.list-group-item:first-child {
  border-top: none;
}

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

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

/* Stats cards */
.bg-opacity-10 {
  background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
}

/* Rounded circles for icons */
.rounded-circle {
  border-radius: 50% !important;
}

/* Card header styles */
.card-header {
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Text muted */
.text-muted {
  color: #6c757d !important;
}

/* Small text */
.small {
  font-size: 0.875em;
}

/* Flex utilities */
.d-inline-block {
  display: inline-block !important;
}

/* Hover effects */
.list-group-item:hover {
  background-color: #f8f9fa;
}

/* Button icons */
.btn .bi {
  margin-right: 0.25rem;
}

/* Quick action buttons */
.btn-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .d-flex.justify-content-between.align-items-center.mb-4 {
    flex-direction: column;
    text-align: center;
  }
  
  .d-flex.justify-content-between.align-items-center.mb-4 .d-flex {
    margin-top: 1rem;
  }
  
  .btn-flex {
    padding: 0.75rem;
  }
  
  .btn-flex .bi {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
}

/* Add to your existing style.css */
.hero-section {
  padding-top: 120px;
}

.navbar-custom {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Section padding */
section {
  padding: 80px 0;
}

/* Testimonial cards */
.testimonial-card {
  border-left: 4px solid var(--primary-color);
}

/* FAQ accordion */
.accordion-button:not(.collapsed) {
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--primary-color);
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Footer */
.bg-dark {
  background-color: #2c3e50 !important;
}

/* Form enhancements */
.input-group-text {
  background-color: #f8f9fa;
  border-right: none;
}

.form-control:focus + .input-group-text {
  border-color: #4CAF50;
}

.input-group .form-control:focus {
  border-left: none;
  box-shadow: none;
}

.input-group .form-control {
  border-left: none;
}

/* Back button styling */
.btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}

.btn-outline-secondary:hover {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
}

/* Text link styling */
.text-decoration-none {
  color: #4CAF50;
  font-weight: 500;
}

.text-decoration-none:hover {
  color: #45a049;
  text-decoration: underline !important;
}

