.pet-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 24px 20px;
    box-shadow: 0 18px 40px rgba(31, 107, 255, 0.08);
    border: 1px solid rgba(31, 107, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* New Pet Form Page */
.pet-page-wrapper {
    margin: 0 auto;
    padding: 24px 0 48px;
}

.pet-page-main {
    flex: 1 1 0;
}

.pet-page-sidebar {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pet-page-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 25px 60px -20px rgba(15, 23, 42, 0.25);
    padding: 16px;
}

.pet-page-header {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pet-page-header-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, #e8f0ff 0%, #f7f9ff 100%);
    color: #2d7bff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.pet-page-header-content {
    display: flex;
    flex-direction: column;
}

.pet-page-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #1a1f36;
}

.pet-page-subtitle {
    margin: 6px 0 0;
    font-size: 16px;
    color: #6f7d97;
}

.pet-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Modal form layout - 2 columns */
#addPetModal .pet-form {
    gap: 0;
}

#addPetModal .pet-form .row {
    margin: 0;
}

#addPetModal .pet-form-photo {
    justify-content: flex-start;
    padding: 24px;
}

.pet-form-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    background: #f7f9fc;
    border-radius: 24px;
    padding: 16px;
}

.pet-photo-preview {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px dashed #c7d2e9;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.pet-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pet-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 600;
    color: #94a4c4;
}

.pet-photo-placeholder-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f0ff 0%, #f3f7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d7bff;
    font-size: 28px;
}

.pet-photo-actions {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: center;
}

.pet-upload-btn,
.pet-remove-btn {
    border-radius: 999px;
    padding: 6px 16px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-width: 1px;
}

.pet-upload-btn {
    background: #e8f0ff;
    border-color: #c7d7ff;
    color: #2d7bff;
}

.pet-upload-btn:hover,
.pet-upload-btn:focus {
    background: #d8e5ff;
    border-color: #adc6ff;
    color: #1d4ed8;
}

.pet-remove-btn {
    background: #fff2f2;
    border-color: #f8c6c6;
    color: #eb5757;
}

.pet-remove-btn:hover,
.pet-remove-btn:focus {
    background: #ffe3e3;
    border-color: #f29b9b;
    color: #d62828;
}

.pet-photo-hint {
    margin: 0;
    font-size: 14px;
    color: #7a8baa;
}

.pet-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pet-form-field {
    display: flex;
    flex-direction: column;
}

.pet-form-field--full {
    grid-column: span 3;
}

.pet-form-label {
    font-weight: 600;
    color: #1a1f36;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.required-indicator {
    color: #f0625f;
}
.text-blue {
    color: #2d7bff;
}
.pet-form-control {
    border-radius: 1rem;
    border: 1px solid #d8e0f2;
    /* background: #f9fbff; */
    padding: 8px 12px;
    font-size: 15px;
    color: #1a1f36;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pet-form-control::placeholder {
    color: #96a3bf;
}

.pet-form-control:focus {
    border-color: #2d7bff;
    box-shadow: 0 0 0 3px rgba(45, 123, 255, 0.15);
    background: #ffffff;
}

.pet-form-control.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236F7D97' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px;
    padding-right: 48px;
}

/* Select2 height matching with pet-form-control */
.pet-form-field .select2-container--bootstrap-5 {
    width: 100% !important;
    margin-top: -1px;
}

.pet-form-field .select2-container--bootstrap-5 .select2-selection {
    border-radius: 8px;
    border: 1px solid #d8e0f2;
    min-height: auto;
    height: auto;
    padding: 0;
}

.pet-form-field .select2-container--bootstrap-5 .select2-selection--single {
    height: auto;
    min-height: auto;
}

.pet-form-field .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    padding: 8px 12px;
    padding-right: 48px;
    line-height: 1.5;
    min-height: auto;
    height: auto;
    display: flex;
    align-items: center;
    vertical-align: middle;
}

.pet-form-field .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    height: auto;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.pet-form-field .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow b {
    border-color: #6F7D97 transparent transparent transparent;
    border-width: 6px 6px 0 6px;
    margin-top: -3px;
}

.pet-form-field .select2-container--bootstrap-5.select2-container--focus .select2-selection,
.pet-form-field .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #2d7bff;
    box-shadow: 0 0 0 3px rgba(45, 123, 255, 0.15);
    background: #ffffff;
}

.pet-form-control-with-icon {
    position: relative;
}

.pet-form-control-with-icon input {
    width: 100%;
    padding-right: 46px;
}

.pet-form-control-with-icon i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 18px;
}

/* Hide default calendar icon for date input, keep custom icon */
.pet-form-control-with-icon input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
    appearance: none;
}

.pet-form-control-with-icon input[type="date"]::-webkit-inner-spin-button,
.pet-form-control-with-icon input[type="date"]::-webkit-outer-spin-button {
    display: none;
    -webkit-appearance: none;
    appearance: none;
}

.pet-owner-field {
    position: relative;
}

.pet-owner-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    max-height: 260px;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 16px 40px -20px rgba(36, 52, 84, 0.45);
    z-index: 30;
}

.pet-owner-suggestions .list-group-item {
    border: none;
    padding: 12px 18px;
    font-size: 14px;
}

.pet-owner-suggestions .list-group-item:hover,
.pet-owner-suggestions .list-group-item:focus {
    background: #f1f5ff;
    color: #1a1f36;
}

.pet-field-hint {
    font-size: 13px;
    color: #8b97b3;
}

.pet-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pet-cancel-btn,
.pet-submit-btn {
    border-radius: 999px;
    padding: 12px 28px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pet-cancel-btn {
    background: #f2f4f8;
    border: none;
    color: #5b6783;
}

.pet-cancel-btn:hover,
.pet-cancel-btn:focus {
    background: #e6e9f1;
    color: #3a4155;
}

.pet-submit-btn {
    background: linear-gradient(135deg, #2d7bff 0%, #1746ff 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(41, 99, 255, 0.35);
}

.pet-submit-btn:hover,
.pet-submit-btn:focus {
    background: linear-gradient(135deg, #1f5ded 0%, #1536d6 100%);
    color: #ffffff;
}

.pet-sidebar-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 45px -25px rgba(31, 45, 85, 0.35);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pet-sidebar-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pet-sidebar-card-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1f36;
}

.pet-sidebar-card-header span {
    font-size: 14px;
    color: #6f7d97;
}

.pet-sidebar-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f0ff 0%, #f3f7ff 100%);
    color: #2d7bff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pet-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pet-sidebar-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #4a5672;
}

.pet-sidebar-list li i {
    color: #2d9c3c;
    background: rgba(45, 156, 60, 0.12);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pet-sidebar-action {
    width: 100%;
    border-radius: 18px;
    background: #e8f0ff;
    border: 1px solid #c7d7ff;
    color: #2d7bff;
    padding: 12px 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pet-sidebar-action:hover,
.pet-sidebar-action:focus {
    background: #d8e5ff;
    border-color: #adc6ff;
    color: #1f4bff;
}

@media (max-width: 992px) {
    .pet-page-layout {
        flex-direction: column;
    }

    .pet-page-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .pet-sidebar-card {
        flex: 1 1 260px;
    }

    .pet-page-card {
        padding: 32px 24px;
    }

    .pet-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pet-form-field--full {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .pet-form-grid {
        grid-template-columns: 1fr;
    }

    .pet-form-field--full {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .pet-page-title {
        font-size: 26px;
    }

    .pet-form-photo {
        padding: 24px 16px;
    }

    .pet-photo-preview {
        width: 160px;
        height: 160px;
    }

    .pet-page-sidebar {
        flex-direction: column;
    }

    .pet-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .pet-cancel-btn,
    .pet-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

.pet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 46px rgba(31, 107, 255, 0.14);
}

.pet-card__header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pet-card__avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 8px solid #ffffff;
    box-shadow: 0 14px 30px rgba(15, 77, 197, 0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f8ff, #e5edff);
}

.pet-card__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pet-card__avatar-placeholder {
    font-size: 36px;
    color: #1f6bff;
}

.pet-card__body {
    width: 100%;
    margin-bottom: 24px;
}

.pet-card__info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pet-card__info-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.pet-card__info-label {
    font-size: 0.95rem;
    color: #000000;
    font-weight: 500;
    white-space: nowrap;
}

.pet-card__info-value {
    font-size: 1rem;
    color: #1b1d29;
    font-weight: 600;
    text-align: right;
    flex: 1;
}

.pet-card__actions {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border: 1px solid #1f6bff;
    border-radius: 20px;
    padding: 0;
    background: #ffffff;
    overflow: hidden;
}

.pet-card__action-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: #1f6bff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    border-radius: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.pet-card__action-btn:hover,
.pet-card__action-btn:focus {
    background-color: rgba(31, 107, 255, 0.05);
    color: #1f6bff;
}

.pet-card__action-btn:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #1f6bff;
    opacity: 0.3;
}

.pet-card__action-btn i {
    pointer-events: none;
    stroke-width: 1.5;
}

/* Responsive styles for pet cards */
@media (min-width: 1200px) {
    /* XL screens - 6 cards per row */
    .pet-card {
        padding: 16px;
        border-radius: 10px;
        border: 1px solid #dee2e6;
    }

    .pet-card__avatar {
        width: 160px;
        height: 160px;
        border-width: 6px;
    }

    .pet-card__avatar-placeholder {
        font-size: 28px;
    }

    .pet-card__info-label {
        font-size: 0.85rem;
    }

    .pet-card__info-value {
        font-size: 0.9rem;
    }

    .pet-card__action-btn {
        font-size: 0.95rem;
        padding: 12px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    /* LG screens - 4 cards per row */
    .pet-card__avatar {
        width: 170px;
        height: 170px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* MD screens - 3 cards per row */
    .pet-card__avatar {
        width: 185px;
        height: 185px;
    }
}

@media (max-width: 575.98px) {
    /* Mobile screens - 1 card per row */
    .pet-card {
        border-radius: 20px;
        padding: 20px 18px;
    }

    .pet-card__avatar {
        width: 160px;
        height: 160px;
    }

    .pet-card__info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .pet-card__info-value {
        text-align: left;
    }

    .pet-card__actions {
        flex-direction: row;
    }
}
/* Custom styles for Pet Clinic Management System */

/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Navigation styles */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .logo-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Card styles */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* Button styles */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Form styles */
.form-control {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.input-group-text {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

/* Table styles */
.table {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Alert styles */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Badge styles */
.badge {
    font-size: 0.75em;
    font-weight: 500;
}

/* Appointments */
.card-hover {
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

.filter-chip {
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
}

/* Pets */
.card .badge.bg-dog { background-color: #198754 !important; }
.card .badge.bg-cat { background-color: #0dcaf0 !important; }
.card .badge.bg-bird { background-color: #ffc107 !important; color: #212529; }
.card .badge.bg-rabbit { background-color: #0d6efd !important; }
.card .badge.bg-other { background-color: #6c757d !important; }

/* Modal styles */
.modal-content {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

/* Pagination styles */
.pagination {
    margin-bottom: 0;
}

.page-link {
    border-radius: 0.375rem;
    margin: 0 0.125rem;
    border: 1px solid #dee2e6;
}

.page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Status colors */
.status-scheduled { color: #6c757d; }
.status-confirmed { color: #0dcaf0; }
.status-in-progress { color: #ffc107; }
.status-completed { color: #198754; }
.status-cancelled { color: #dc3545; }
.status-pending { color: #6c757d; }
.status-active { color: #0dcaf0; }
.status-inactive { color: #6c757d; }

/* Species colors */
.species-dog { color: #198754; }
.species-cat { color: #0dcaf0; }
.species-bird { color: #ffc107; }
.species-rabbit { color: #dc3545; }
.species-other { color: #6c757d; }

/* Treatment status colors */
.treatment-pending { color: #6c757d; }
.treatment-in-progress { color: #ffc107; }
.treatment-completed { color: #198754; }

/* Vaccine type colors */
.vaccine-regular { color: #0d6efd; }
.vaccine-booster { color: #198754; }
.vaccine-drug { color: #ffc107; }
.vaccine-vitamin { color: #0dcaf0; }
.vaccine-other { color: #6c757d; }

/* Record type colors */
.record-examination { color: #198754; }
.record-surgery { color: #ffc107; }
.record-medication { color: #0dcaf0; }
.record-lab_test { color: #0d6efd; }
.record-other { color: #6c757d; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .table-responsive {
        border: none;
    }
    
    .btn-group-vertical .btn {
        margin-bottom: 0.25rem;
    }
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.loading-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: #2d7bff;
}

.loading-overlay .loading-text {
    margin-top: 1rem;
    font-size: 1rem;
    color: #6f7d97;
    font-weight: 500;
}

/* Modal loading overlay */
.modal-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    border-radius: 0.5rem;
}

.modal-loading-overlay .spinner-border {
    width: 2.5rem;
    height: 2.5rem;
    border-width: 0.25rem;
    color: #2d7bff;
}

.modal-loading-overlay .loading-text {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #6f7d97;
    font-weight: 500;
}

/* Custom utilities */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    .btn {
        display: none !important;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border-width: 2px;
    }
    
    .form-control {
        border-width: 2px;
    }
}

/* Universal icon hover effects */
.nav-link i, .navbar-brand i, .dropdown-item i {
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Header navigation icons */
.navbar-nav .nav-link:hover i {
    color: #ffc107 !important;
    transform: scale(1.1);
}

/* Brand icon */
.navbar-brand:hover i {
    color: #ffc107 !important;
    transform: scale(1.1);
}

/* Dropdown menu icons */
.dropdown-item:hover i {
    color: #ffc107 !important;
    transform: scale(1.1);
}

/* Cart icon specific styles */
.nav-link .fas.fa-shopping-cart {
    font-size: 1.2rem;
    color: #fff;
}

/* Language dropdown icons */
.nav-link .fas.fa-globe,
.nav-link .fas.fa-flag {
    color: #fff;
}

/* User dropdown icon */
.nav-link .fas.fa-user {
    color: #fff;
}

/* Menu dropdown icons in main navigation */
.navbar-nav .dropdown-toggle i {
    color: #fff;
}

/* Main menu dropdown items hover effects */
.navbar-nav .dropdown-menu .dropdown-item:hover i {
    color: #ffc107 !important;
    transform: scale(1.1);
}

/* Sidebar or other menu items (if any) */
.nav-pills .nav-link:hover i,
.list-group-item:hover i {
    /* color: #ffc107 !important; */
    /* transform: scale(1.1); */
}

/* Button icons hover effects */
.btn:hover i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Card header icons */
.card-header:hover i {
    /* color: #ffc107 !important; */
    transform: scale(1.05);
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Table action icons */
.table td a:hover i,
.table th a:hover i {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

/* Edit button icons */
.btn-warning:hover i,
.btn-outline-warning:hover i {
    color: #fff !important;
    transform: scale(1.1);
}

/* Delete button icons */
.btn-danger:hover i,
.btn-outline-danger:hover i {
    color: #fff !important;
    transform: scale(1.1);
}

/* Success button icons */
.btn-success:hover i,
.btn-outline-success:hover i {
    color: #fff !important;
    transform: scale(1.1);
}

/* Info button icons */
.btn-info:hover i,
.btn-outline-info:hover i {
    color: #fff !important;
    transform: scale(1.1);
}

/* Primary button icons */
.btn-primary:hover i,
.btn-outline-primary:hover i {
    color: #fff !important;
    transform: scale(1.1);
}

/* Search and filter icons */
.input-group-text:hover i {
    color: #ffc107 !important;
    transform: scale(1.1);
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Footer icons */
footer a:hover i {
    color: #ffc107 !important;
    transform: scale(1.1);
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Breadcrumb icons */
.breadcrumb-item a:hover i {
    color: #ffc107 !important;
    transform: scale(1.1);
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Alert icons */
.alert:hover i {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Modal header icons */
.modal-header:hover i {
    color: #ffc107 !important;
    transform: scale(1.1);
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Pagination icons */
.pagination .page-link:hover i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Status badge icons */
.badge:hover i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.nav-link .badge {
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Cart badge animation when updated */
.cart-badge-updated {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate(-50%, -50%) scale(1); }
    40%, 43% { transform: translate(-50%, -50%) scale(1.3); }
    70% { transform: translate(-50%, -50%) scale(1.1); }
    90% { transform: translate(-50%, -50%) scale(1.05); }
}

/* Modern Billing Page Styles */
.billing-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.filter-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.filter-card .card-header {
    border-radius: 15px 15px 0 0;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.quick-date-filters .btn {
    transition: all 0.3s ease;
    border-width: 2px;
}

.quick-date-filters .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.quick-date-filters .btn.active {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.bills-table-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bills-table-card .table {
    margin-bottom: 0;
}

.bills-table-card .table thead th {
    background: linear-gradient(45deg, #343a40, #495057);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.bills-table-card .table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
}

.bills-table-card .table tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.005);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Compact table styling */
.bills-table-card .table td {
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.badge-sm {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.bill-number-cell {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border-radius: 8px;
    padding: 0.5rem;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

.customer-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.amount-display {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.1rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.action-buttons .btn {
    transition: all 0.3s ease;
    margin: 0 2px;
}

.action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.empty-state {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
}

.empty-state-icon {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(108, 117, 125, 0.3);
}

/* Card hover effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .billing-header .h2 {
        font-size: 1.5rem;
    }
    
    .quick-date-filters .btn {
        margin-bottom: 0.5rem;
    }
    
    .bills-table-card .table thead th {
        padding: 0.5rem 0.25rem;
        font-size: 0.65rem;
    }
    
    .bills-table-card .table td {
        padding: 0.5rem 0.25rem !important;
        font-size: 0.8rem;
    }
    
    .action-buttons .btn,
    .btn-group-sm .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .badge-sm {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Disable all icon animations and transitions */
    .nav-link i, 
    .navbar-brand i, 
    .dropdown-item i,
    .btn i,
    .table td a i,
    .table th a i,
    .input-group-text i,
    footer a i,
    .breadcrumb-item a i,
    .alert i,
    .modal-header i,
    .pagination .page-link i,
    .badge i,
    .card-header i,
    .quick-date-filters .btn,
    .bills-table-card .table tbody tr,
    .action-buttons .btn,
    .card {
        transition: none !important;
        transform: none !important;
    }
    
    .nav-link .badge {
        animation: none !important;
    }
    
    .cart-badge-updated {
        animation: none !important;
    }
}

/* Login Page Styles */
.login-page-wrapper {
    min-height: 100vh;
    background: #4A90E2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.login-page-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/svg/background.svg');
    background-position: 0 0;
    opacity: 0.7;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(200px, 200px); }
}

.login-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 3rem 2.5rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.paw-print-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.logo-icon {
    width: 35px;
    height: 35px;
    max-width: 100%;
}

.paw-pad {
    border-radius: 50%;
}

.paw-pad-large {
    width: 50px;
    height: 50px;
    background: #8B4513;
    margin-top: 5px;
}

.paw-pads-small {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
}

.paw-pad-small {
    width: 30px;
    height: 30px;
}

.paw-pad-1 { background: #9B59B6; }
.paw-pad-2 { background: #2ECC71; }
.paw-pad-3 { background: #F39C12; }
.paw-pad-4 { background: #3498DB; }

.login-title {
    color: #4A90E2;
    font-weight: bold;
    font-size: 1.8rem;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-form .form-label {
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.login-form .form-control {
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    outline: none;
}

.login-form .form-control::placeholder {
    color: #BDBDBD;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #4A90E2;
}

.login-btn {
    background: #4A90E2;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.login-btn:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.language-selector {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.language-selector .dropdown {
    display: inline-block;
}

.language-selector-btn {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.language-selector-btn:hover {
    background: #F5F5F5;
}

.language-selector .dropdown-menu {
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #E0E0E0;
    margin-top: 0.5rem;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    background: linear-gradient(to bottom, #DA251D 0%, #DA251D 50%, #FFFF00 50%, #FFFF00 100%);
    position: relative;
}

.flag-icon::before {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFF00;
    font-size: 8px;
}

.login-copyright {
    text-align: center;
    color: rgb(42, 42, 42);
    font-size: 0.85rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #F0F0F0;
}

.login-alert {
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

/* Responsive styles for login page */
@media (max-width: 1200px) {
    .login-card {
        padding: 2.5rem 2rem;
    }
    
    .logo-icon {
        width: 110px;
    }
}

@media (max-width: 992px) {
    .login-card {
        padding: 2.5rem 2rem;
    }
    
    .logo-icon {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .login-page-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
        border-radius: 25px;
    }
    
    .logo-icon {
        width: 90px;
    }
    
    .login-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .login-page-wrapper {
        padding: 1rem 0.75rem;
    }
    
    .login-card {
        padding: 1.5rem 1.25rem;
        border-radius: 20px;
    }
    
    .logo-icon {
        width: 80px;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .login-header {
        margin-bottom: 1.5rem;
    }
    
    .login-form .form-control {
        padding: 0.65rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .login-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
.border-radius-10{
    border-radius: 10px;
}

/* Dropdown with active class - border bottom */
.dropdown.active,
.nav-item.dropdown.active {
    /* border-bottom: 8px solid #ffffff; */
    border-radius: 10px;
}

.nav-item.dropdown.active .nav-link,
.dropdown.active .nav-link {
    /* border-bottom: 2px solid #ffc107; */
}

/* Pets Index Page Header Styles */
.pets-header-container {
    padding: 1rem 0;
}

.pets-title {
    /* font-weight: bold; */
    font-size: 1.5rem;
    color: #000;
    white-space: nowrap;
    margin-right: 1rem;
}

.pets-search-input {
    border-radius: 1rem;
    border: 1px solid #ced4da;
    padding: 0.5rem 1rem;
    flex: 1;
}

.pets-search-input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: none;
}

.pets-search-btn {
    border-radius: 1rem;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pets-add-btn {
    border-radius: 1rem;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
}

/* Appointments input and select styling to match pets */

/* Input group styling for appointments */

.appointments-search-btn {
    border-radius: 1rem;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(1.5em + 0.75rem + 2px); /* Match Bootstrap form-control height */
}

.appointments-add-btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(1.5em + 0.75rem + 2px); /* Match Bootstrap form-control height */
}

/* Responsive styles for pets header */
@media (max-width: 768px) {
    .pets-header-container {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .pets-title {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
    
    .pets-search-container {
        width: 100%;
        max-width: 100%;
    }
    
    .pets-add-btn {
        width: 100%;
    }
}
.pet-form-control{
    width: 100%;
}

/* Statistics Cards Styles */
.stat-card {
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #cacaca !important;
    min-height: 139px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 26px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #000;
    text-align: center;
}

/* Purple card (Pets) */
.stat-card-purple {
    background-color: #E8D5FF;
}

.stat-card-purple .stat-icon {
    color: #9B59B6;
}

/* Blue card (Appointments) */
.stat-card-blue {
    background-color: #D5E8FF;
}

.stat-card-blue .stat-icon {
    color: #3498DB;
}

/* Green card (Medical Records) */
.stat-card-green {
    background-color: #D5FFE8;
}

.stat-card-green .stat-icon {
    color: #2ECC71;
}

/* Yellow card (Orders/Bills) */
.stat-card-yellow {
    background-color: #FFF8D5;
}

.stat-card-yellow .stat-icon {
    color: #F39C12;
}

/* Owner Information Card Styles */
.owner-info-card {
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.owner-info-header {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-bottom: none;
    padding: 16px 20px;
    border-radius: 10px 10px 0 0;
}

.owner-info-header h5 {
    color: #1976d2;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.owner-info-header i {
    color: #1976d2;
    font-size: 1.2rem;
}

.owner-info-card .card-body {
    padding: 20px;
}

.owner-info-row {
    border-bottom: 1px dotted #e0e0e0;
    padding: 12px 0;
}

.owner-info-row:last-child {
    border-bottom: none;
}

.owner-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.owner-info-item strong {
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    min-width: 140px;
}

.owner-info-item span {
    color: #000;
    font-size: 0.95rem;
    /* text-align: right; */
    flex: 1;
}

.owner-info-link {
    color: #1976d2;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.owner-info-link:hover {
    color: #1565c0;
    text-decoration: underline;
}

.owner-info-debt {
    color: #d32f2f !important;
    font-weight: 600;
}

.owner-info-paid {
    color: #2e7d32 !important;
    font-weight: 600;
}

/* Owner Information Responsive Styles */
@media (max-width: 991.98px) {
    .owner-info-card .card-body {
        padding: 16px;
    }
    
    .owner-info-row {
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .owner-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .owner-info-item strong {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .owner-info-item span,
    .owner-info-item a {
        text-align: left;
        font-size: 0.9rem;
        word-break: break-word;
    }
    
    .owner-info-card .card-body {
        padding: 14px;
    }
    
    .owner-info-header {
        padding: 12px 16px;
    }
    
    .owner-info-header h5 {
        font-size: 1rem;
    }
    
    .stat-card {
        min-height: 120px;
        padding: 12px;
    }
    
    .stat-icon {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .owner-info-card .card-body {
        padding: 12px;
    }
    
    .owner-info-row {
        padding: 8px 0;
    }
    
    .owner-info-item strong {
        font-size: 0.85rem;
    }
    
    .owner-info-item span,
    .owner-info-item a {
        font-size: 0.85rem;
    }
    
    .owner-info-header {
        padding: 10px 14px;
    }
    
    .owner-info-header h5 {
        font-size: 0.95rem;
    }
    
    .stat-card {
        min-height: 110px;
        padding: 10px;
    }
    
    .stat-icon {
        font-size: 20px;
        margin-bottom: 4px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}
.card-header{
    background: #fafaff !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}
.card{
    border: 1px solid #cacaca !important;
    border-radius: 10px !important;
    margin-bottom: 0px !important;
}
.card-header:first-child{
    border-radius: inherit !important;
}

/* Pet Appointment Card Styles */
.pet-appointment-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pet-appointment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.pet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.pet-card-date {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.pet-card-date i {
    color: #495057;
}

.pet-status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}

.pet-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.pet-photo-container {
    margin-bottom: 20px;
}

.pet-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9ecef;
    background: #f8f9fa;
}

.pet-details {
    width: 100%;
}

.pet-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pet-detail-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pet-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pet-detail-item strong {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 2px;
}

.pet-detail-item span {
    font-size: 14px;
    color: #212529;
    line-height: 1.4;
    word-break: break-word;
}

.pet-card-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: #e8f4fd;
    border-radius: 8px;
    border: 1px solid #b8dff7;
}

.pet-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #ffffff;
    color: #495057;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pet-action-btn:hover {
    background: #007bff;
    color: #ffffff;
    border-color: #007bff;
    transform: translateY(-2px);
}

.pet-action-btn i {
    font-size: 16px;
}

.pet-action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pet-detail-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .pet-photo {
        width: 100px;
        height: 100px;
    }
    
    .pet-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .pet-status-badge {
        align-self: flex-end;
    }
}

/* Notification/Alert Styles - Shared across all screens */
/* Change amount alert styling */
[id^="changeAmount-"] .alert {
    border: 2px solid #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
    animation: slideInChange 0.3s ease-in-out;
}

[id^="changeAmount-"] .alert i {
    color: #28a745;
    font-size: 1.1em;
}

[id^="changeAmount-"] .fw-bold {
    color: #155724;
    font-size: 1.1em;
}

@keyframes slideInChange {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alert supplier notification (for fixed position alerts) */
.alert-supplier {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}
.form-control:valid{
    background: none !important;
}