@import 'tailwindcss';



:root {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
}

/**
 * Base Styles
 */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#app {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/**
 * Navbar Customization
 */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
    font-weight: 700;
    color: #3490dc;
}

.nav-link {
    font-weight: 600;
}

.nav-link.active {
    color: #3490dc !important;
    border-bottom: 2px solid #3490dc;
}

/**
 * Card Styling
 */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    border: none;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 700;
    padding: 1rem 1.5rem;
}

.card-header:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
}

.card-body {
    padding: 1.5rem;
}

/**
 * Dashboard Stats Cards
 */
.stats-card {
    transition: transform 0.3s ease;
    border-left: 4px solid #3490dc;
}

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

.stats-card .card-body {
    display: flex;
    align-items: center;
}

.stats-card .icon {
    font-size: 2.5rem;
    margin-right: 1rem;
    color: #3490dc;
}

.stats-card .stats-data {
    flex: 1;
}

.stats-card .stats-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}

.stats-card .stats-text {
    color: #6c757d;
    margin-bottom: 0;
}

/**
 * Dogs Card
 */
.stats-card.dogs-card {
    border-left-color: #38c172;
}

.stats-card.dogs-card .icon {
    color: #38c172;
}

/**
 * Clients Card
 */
.stats-card.clients-card {
    border-left-color: #f6993f;
}

.stats-card.clients-card .icon {
    color: #f6993f;
}

/**
 * Puppy Raisers Card
 */
.stats-card.puppy-raisers-card {
    border-left-color: #9561e2;
}

.stats-card.puppy-raisers-card .icon {
    color: #9561e2;
}

/**
 * Phone Logs Card
 */
.stats-card.phone-logs-card {
    border-left-color: #e3342f;
}

.stats-card.phone-logs-card .icon {
    color: #e3342f;
}

/**
 * Form Styling
 */
.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #3490dc;
    box-shadow: 0 0 0 0.2rem rgba(52, 144, 220, 0.25);
}

.form-select {
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

.form-select:focus {
    border-color: #3490dc;
    box-shadow: 0 0 0 0.2rem rgba(52, 144, 220, 0.25);
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #e3342f;
}

/**
 * Buttons
 */
.btn {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 0.375rem;
}

.btn-primary {
    background-color: #3490dc;
    border-color: #3490dc;
}

.btn-primary:hover {
    background-color: #2779bd;
    border-color: #2779bd;
}

.btn-success {
    background-color: #38c172;
    border-color: #38c172;
}

.btn-success:hover {
    background-color: #2d995b;
    border-color: #2d995b;
}

.btn-danger {
    background-color: #e3342f;
    border-color: #e3342f;
}

.btn-danger:hover {
    background-color: #cc1f1a;
    border-color: #cc1f1a;
}

/**
 * DataTables Customization
 */
.dataTables_wrapper .dataTables_length select {
    min-width: 60px;
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 1rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.375rem 0.75rem;
    margin-left: 0.25rem;
    border-radius: 0.375rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #3490dc;
    border-color: #3490dc;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #2779bd;
    border-color: #2779bd;
    color: #fff !important;
}

/**
 * Status Pills
 */
.status-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.status-active {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-inactive {
    background-color: #f8d7da;
    color: #842029;
}

.status-pending {
    background-color: #fff3cd;
    color: #664d03;
}

.status-graduated {
    background-color: #cff4fc;
    color: #055160;
}

/**
 * Footer
 */
.footer {
    margin-top: auto;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
}

.sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    padding-top: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    border-right: 1px solid #e5e7eb;
}

.sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar .nav-link {
    padding: 12px 20px;
    transition: all 0.3s;
    color: #374151;
}

.sidebar .nav-link:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

.sidebar .nav-link.active {
    background-color: #e5e7eb;
    color: #111827;
}

.sidebar-header {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.sidebar-logo {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.main-logo-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid #e5e5e5;
}

.main-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accreditation-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid #e5e5e5;
}

.accreditation-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-content {
    margin-left: 250px;
    padding: 20px;
}

/* Remove the logout button from the top navbar */
.navbar .logout-button {
    display: none;
}
