/* CSS Variables */
:root {
    --primary-blue: #0f66af;
    --light-grey: #ced4da;
}

/* Apply Montserrat font globally */
body {
    font-family: 'Montserrat', sans-serif;
}


.custom-scrollbar::-webkit-scrollbar {
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
  border-radius: 3px;
}


/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Layout and Spacing */
.container-animate {
    animation: fadeIn 0.5s ease-in;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.px-0 {
    padding-left: 0;
    padding-right: 0;
}
.md\:px-8 {
    @media (min-width: 768px) {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
.xl\:px-12 {
    @media (min-width: 1280px) {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}
.p-3 {
    padding: 0.75rem;
}

.mb-0 {
    margin-bottom: 0;
}
.mb-1 {
    margin-bottom: 0.25rem;
}
.mb-2 {
    margin-bottom: 0.5rem;
}
.mb-3 {
    margin-bottom: 0.75rem;
}
.me-2 {
    margin-right: 0.5rem;
}
.ms-2 {
    margin-left: 0.5rem;
}
.mt-1 {
    margin-top: 0.25rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.gap-3 {
    gap: 0.75rem;
}
.w-full {
    width: 100%;
}
.max-w-3xl {
    max-width: 48rem;
}
.modal-dialog {
    max-width: 800px;
    margin: 1.75rem auto;
}
.p-10-20 {
    padding: 10px 20px;
}

/* Flexbox */
.flex {
    display: flex;
}
.flex-wrap {
    flex-wrap: wrap;
}
.items-center {
    align-items: center;
}
.justify-between {
    justify-content: space-between;
}
.justify-end {
    justify-content: flex-end;
}
.items-start {
    align-items: flex-start;
}
.flex-col {
    flex-direction: column;
}
.items-end {
    align-items: flex-end;
}
.flex-nowrap {
    flex-wrap: nowrap;
}

/* Background and Colors */
.bg-gray-100 {
    background-color: #f3f4f6;
}
.bg-white {
    background-color: #ffffff;
}
.bg-[var(--primary-blue)] {
    background-color: var(--primary-blue);
}
.bg-yellow-400 {
    background-color: #facc15;
}
.bg-green-500 {
    background-color: #22c55e;
}
.bg-gray-500 {
    background-color: #6b7280;
}
.text-white {
    color: #ffffff;
}
.text-gray-800 {
    color: #1f2a44;
}
.text-gray-500 {
    color: #6b7280;
}
.text-[var(--primary-blue)] {
    color: var(--primary-blue);
}

/* Typography */
.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}
.block {
    display: block;
}

/* Borders and Rounding */
.border {
    border-width: 1px;
}
.border-[var(--light-grey)] {
    border-color: var(--light-grey);
}
.border-gray-300 {
    border-color: #d1d5db;
}
.border-gray-400 {
    border-color: #9ca3af;
}
.rounded-md {
    border-radius: 0.375rem;
}
.rounded-lg {
    border-radius: 0.5rem;
}
.rounded-full {
    border-radius: 9999px;
}

/* Shadows */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Buttons */
.inline-block {
    display: inline-block;
}
.border-white {
    border: 1px solid #ffffff;
}
.border-none {
    border: none;
}
.btn-outline-light {
    border: 1px solid #ffffff;
    color: #ffffff;
}
.btn-outline-light:hover {
    background-color: #ffffff1a;
}
.btn-outline-secondary {
    border: 1px solid #9ca3af;
    color: #4b5563;
}
.btn-outline-secondary:hover {
    background-color: #f3f4f6;
}

/* Forms */
.w-full.border.rounded-md.p-2.text-sm {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Modals */
.modal-body {
    padding: 1rem;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
.text-white.opacity-75 {
    color: #ffffff;
    opacity: 0.75;
}
.text-white.opacity-75:hover {
    opacity: 1;
}
.hidden {
    display: none;
}

/* Badges */
.badge {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    font-size: 0.75em;
    padding: 0.35em 0.65em;
}

/* Dropdowns */
.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #1f2a44;
}
.dropdown-item:hover {
    background-color: #f3f4f6;
}
.dropdown-divider {
    border-top: 1px solid #e5e7eb;
}

/* Custom Styles */
.bg-primary-blue {
    background-color: var(--primary-blue);
}
.text-primary-blue {
    color: var(--primary-blue);
}
.border-grey {
    border-color: var(--light-grey) !important;
}
.lead-card {
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
}
.lead-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.btn-primary-blue {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    border-radius: 8px;
    padding: 10px 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-primary-blue:hover {
    background-color: #084a8a;
    border-color: #084a8a;
    transform: scale(1.05);
}
.modal-column {
    flex: 1;
    padding: 0 1rem;
}
.modal-column.left {
    border-right: 1px solid var(--light-grey);
}
.modal-column img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}
.editable {
    background-color: #fff3cd;
}
#customReasonInput {
    display: none;
    margin-top: 0.5rem;
}

/* Responsive */
@media (min-width: 768px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    header {
        padding: 1rem 2rem !important;
    }
    section {
        padding: 1.5rem 2rem !important;
    }
    .lead-card {
        padding: 1.25rem !important;
    }
}
@media (min-width: 1200px) {
    .container-fluid {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    section {
        padding: 2rem 3rem !important;
    }
}