/* Brandimi - Custom Styles */

:root {
  --primary-color: #4e73df;
  --primary-dark: #224abe;
  --secondary-color: #6c757d;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --success-color: #1cc88a;
  --info-color: #36b9cc;
  --warning-color: #f6c23e;
  --danger-color: #e74a3b;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Navbar styling */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 30px;
  margin-right: 10px;
  filter: brightness(0) invert(1); /* Make logo white for dark background */
}

/* Card styling */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background-color: white;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

/* Button styling */
.btn {
  border-radius: 5px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Table styling */
.table th {
  border-top: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Custom category pills */
.category-pill {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  color: white;
  font-weight: 500;
}

/* Account cards */
.account-card {
  transition: transform 0.2s ease;
  height: 100%;
}

.account-card:hover {
  transform: translateY(-5px);
}

/* Favorite toggle button */
.favorite-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.favorite-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Form styling */
.form-control, .form-select {
  border-radius: 5px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-sans);
}

.form-control:focus, .form-select:focus {
  border-color: rgba(78, 115, 223, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

/* Pagination styling */
.pagination .page-link {
  color: var(--primary-color);
  border: none;
  border-radius: 5px;
  margin: 0 3px;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Attachment preview */
.attachment-preview {
  max-height: 200px;
  object-fit: contain;
}

/* User badge styling */
.badge.bg-admin {
  background-color: var(--danger-color);
}

.badge.bg-user {
  background-color: var(--info-color);
}

.attachment-icon {
    font-size: 1.25rem;
}

.drag-area {
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 2rem;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.drag-area.active {
    border-color: #0d6efd;
    background-color: #e9f2ff;
}

.note-timestamp {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Fix for admin dropdown positioning */
.dropdown-menu {
    position: absolute;
    z-index: 1000;
}

/* Ensure admin dropdown doesn't get cut off at the screen edge */
.nav-item.dropdown .dropdown-menu {
    right: 0;
    left: auto;
}

/* Fix for multiselect dropdowns width */
.dropdown-multiselect .dropdown-menu {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

/* Fix for dropdown width to match Reached Out From dropdown */
.col-md-6 .dropdown-multiselect .dropdown-toggle {
    width: 100%;
} 