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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #efebe9 0%, #faf8f7 100%);
    color: #3e2723;
    overflow: hidden;
}

.app-window {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    backdrop-filter: blur(1.25rem);
}

/* Title Bar */
.title-bar {
    height: 3.75rem;
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    backdrop-filter: blur(1.25rem) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    color: white;
    box-shadow: 0 0.25rem 1.5rem rgba(161, 99, 92, 0.2);
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.title-bar-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.sidebar-overlay.active {
    display: block;
}

.app-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 0.125rem 0.25rem rgba(0,0,0,0.2));
}

.app-name {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.03125rem;
}

.window-controls {
    display: flex;
    gap: 0.75rem;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    border: 0.125rem solid rgba(255, 255, 255, 0.3);
    border-radius: 0.625rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-0.125rem);
}

/* Main Container */
.main-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 18.75rem;
    background: rgba(239, 235, 233, 0.9);
    backdrop-filter: blur(1.25rem) saturate(180%);
    border-right: 0.0625rem solid rgba(188, 170, 164, 0.3);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    overflow-y: auto;
    max-height: calc(100vh - 3.75rem);
}

.sidebar-header {
    margin-bottom: 1.25rem;
}

/* Adoption Form Button */
.adoption-form-btn {
    width: 100%;
    padding: 0.875rem 1.125rem;
    background: rgba(255, 255, 255, 0.7);
    border: 0.125rem solid rgba(180, 130, 90, 0.3);
    border-radius: 0.75rem;
    color: #5d4037;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.adoption-form-btn:hover {
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    color: white;
    border-color: #a1635c;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 1rem rgba(161, 99, 92, 0.3);
}

.adoption-form-btn:active {
    transform: translateY(0);
}

a.adoption-form-btn {
    text-decoration: none;
}

.sidebar-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #5d4037;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    margin-bottom: 1rem;
}

.search-box {
    width: 20rem;
    padding: 0.875rem 1.125rem;
    background: rgba(255, 255, 255, 0.9);
    border: 0.125rem solid transparent;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.04);
}

.search-box:focus {
    border-color: #a1635c;
    box-shadow: 0 0.25rem 1rem rgba(161, 99, 92, 0.15);
    background: white;
    transform: translateY(-0.0625rem);
}

.search-box::placeholder {
    color: #d4a574;
}

.filter-section {
    margin-top: 1.5rem;
}

.filter-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #5d4037;
    margin-bottom: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.filter-btn {
    width: 100%;
    padding: 0.75rem 1.125rem;
    background: rgba(255, 255, 255, 0.7);
    border: 0.125rem solid rgba(188, 170, 164, 0.3);
    border-radius: 0.625rem;
    text-align: left;
    cursor: pointer;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #5d4037;
}

.filter-btn:hover {
    border-color: #a1635c;
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(0.25rem);
    box-shadow: 0 0.25rem 0.75rem rgba(161, 99, 92, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    color: white;
    border-color: #a1635c;
    box-shadow: 0 0.5rem 1.5rem rgba(161, 99, 92, 0.3);
    transform: translateX(0.25rem);
}

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

/* Feedback button special style */
.feedback-btn {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-color: #ffc107;
}

.feedback-btn:hover {
    background: linear-gradient(135deg, #ffecb3 0%, #ffd54f 100%);
    border-color: #ffa000;
}

.stats-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(0.625rem);
    border-radius: 1rem;
    border: 0.0625rem solid rgba(188, 170, 164, 0.3);
    flex-shrink: 0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0;
    font-size: 0.875rem;
}

.stat-item:not(:last-child) {
    border-bottom: 0.0625rem solid rgba(188, 170, 164, 0.2);
}

.stat-label {
    color: #5d4037;
    font-weight: 500;
}

.stat-value {
    font-weight: 700;
    color: #a1635c;
    font-size: 1rem;
}

/* Content Area */
.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #efebe9 0%, #faf8f7 100%);
}

.content-header {
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1.25rem) saturate(180%);
    border-bottom: 0.0625rem solid rgba(188, 170, 164, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-title {
    font-size: 2rem;
    font-weight: 800;
    color: #3e1f1f;
    letter-spacing: -0.0625rem;
}

.content-subtitle {
    font-size: 0.9375rem;
    color: #5d4037;
    margin-top: 0.375rem;
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    letter-spacing: -0.0125rem;
}

.btn-secondary {
    background: rgba(239, 235, 233, 0.9);
    color: #5d4037;
    border: 0.125rem solid rgba(188, 170, 164, 0.4);
}

.btn-secondary:hover {
    background: white;
    border-color: #a1635c;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1.25rem rgba(161, 99, 92, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    color: white;
    box-shadow: 0 0.25rem 1rem rgba(161, 99, 92, 0.3);
}

.btn-primary:hover {
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.75rem 2rem rgba(161, 99, 92, 0.4);
}

.btn-primary:active {
    transform: translateY(-0.0625rem);
}

.content-body {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 1.5rem;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pet Card */
.pet-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(1.25rem) saturate(180%);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 1.5rem rgba(120, 53, 15, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 0.0625rem solid rgba(188, 170, 164, 0.2);
}

.pet-card:hover {
    transform: translateY(-0.5rem) scale(1.02);
    box-shadow: 0 1.25rem 3rem rgba(161, 99, 92, 0.15);
    border-color: rgba(161, 99, 92, 0.4);
}

.pet-image-container {
    position: relative;
    width: 100%;
    height: 14rem;
    background: linear-gradient(135deg, #f5f0ed 0%, #e8e0dc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pet-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
}

.pet-card:hover .pet-image {
    transform: scale(1.05);
}

.pet-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(0.625rem);
    border-radius: 1.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
}

.badge-dog {
    color: #6d4c41;
}

.badge-cat {
    color: #8d6e63;
}

.media-indicator {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.625rem;
}

.media-tag {
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(0.75rem);
    color: white;
    border-radius: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
}

.pet-info {
    padding: 1.125rem;
}

.pet-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.875rem;
}

.pet-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #3e1f1f;
    margin-bottom: 0.25rem;
    letter-spacing: -0.03125rem;
}

.pet-breed {
    font-size: 0.875rem;
    color: #5d4037;
    font-weight: 500;
}

.pet-age {
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%);
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #5d4037;
    border: 0.125rem solid rgba(141, 110, 99, 0.2);
}

.pet-description {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #5d4037;
    margin-bottom: 0.875rem;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pet-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.125rem 0;
    border-top: 0.125rem solid rgba(188, 170, 164, 0.2);
    border-bottom: 0.125rem solid rgba(188, 170, 164, 0.2);
    margin-bottom: 1.125rem;
}

.detail-item {
    text-align: center;
}

.detail-label {
    font-size: 0.625rem;
    color: #5d4037;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    margin-bottom: 0.375rem;
    font-weight: 700;
}

.detail-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: #a1635c;
    letter-spacing: -0.03125rem;
}

.owner-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem;
    background: linear-gradient(135deg, rgba(239, 235, 233, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
    border-radius: 0.75rem;
    border: 0.0625rem solid rgba(188, 170, 164, 0.3);
}

.owner-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 0.25rem 0.75rem rgba(161, 99, 92, 0.3);
}

.owner-details {
    flex: 1;
}

.owner-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #3e1f1f;
    margin-bottom: 0.125rem;
    letter-spacing: -0.0125rem;
}

.owner-contact {
    font-size: 0.75rem;
    color: #5d4037;
    font-weight: 500;
}

.pet-actions {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.125rem;
}

.action-btn {
    flex: 1;
    padding: 0.75rem;
    background: rgba(239, 235, 233, 0.7);
    border: 0.125rem solid rgba(188, 170, 164, 0.4);
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #5d4037;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.0125rem;
}

.action-btn:hover {
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    color: white;
    border-color: #a1635c;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 1rem rgba(161, 99, 92, 0.3);
}

.action-btn:active {
    transform: translateY(0);
}

/* Adopted Badge */
.adopted-badge {
    flex: 1;
    padding: 0.75rem;
    background: linear-gradient(135deg, #166534 0%, #15803d 100%);
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.action-btn.delete-btn:hover {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0.25rem);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 1.25rem;
    width: 90%;
    max-width: 37.5rem;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 1.5625rem 3.125rem rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-large {
    max-width: 55rem;
}

.modal-xlarge {
    max-width: 65rem;
}

.modal-small {
    max-width: 25rem;
}

.login-form {
    padding: 2rem;
}

.form-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-align: center;
}

.form-error.hidden {
    display: none;
}

/* About Modal */
.about-content {
    padding: 2rem;
}

.about-hero {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    border-radius: 1rem;
    color: white;
    margin-bottom: 2rem;
}

.about-hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.about-hero h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.about-hero p {
    font-size: 1rem;
    opacity: 0.9;
}

.about-section {
    margin-bottom: 1.75rem;
}

.about-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #3e1f1f;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.125rem solid rgba(188, 170, 164, 0.3);
}

.about-section p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #5d4037;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.about-card {
    background: linear-gradient(135deg, #efebe9 0%, #fff5f5 100%);
    border: 0.0625rem solid rgba(188, 170, 164, 0.3);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
}

.about-card-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.about-card h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #3e1f1f;
    margin-bottom: 0.5rem;
}

.about-card p {
    font-size: 0.8125rem;
    color: #5d4037;
}

.about-contact {
    background: rgba(239, 235, 233, 0.5);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.about-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.about-contact p:last-child {
    margin-bottom: 0;
}

/* Admin only elements */
.admin-only {
    display: none !important;
}

.admin-only.visible {
    display: flex !important;
}

/* Login/Logout button states */
.login-btn.logged-in {
    background: rgba(22, 101, 52, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
}

.login-btn.logged-in:hover {
    background: rgba(22, 101, 52, 0.5);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-1.25rem) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 0.0625rem solid rgba(188, 170, 164, 0.3);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3e1f1f;
}

.modal-close {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: rgba(239, 235, 233, 0.8);
    border-radius: 0.625rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #5d4037;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #6d4c41;
    color: white;
}

/* Form Styles */
#petForm {
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #5d4037;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    background: rgba(239, 235, 233, 0.5);
    border: 0.125rem solid rgba(188, 170, 164, 0.3);
    border-radius: 0.625rem;
    font-size: 0.875rem;
    color: #3e1f1f;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #a1635c;
    background: white;
    box-shadow: 0 0.25rem 0.75rem rgba(161, 99, 92, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 6.25rem;
}

.form-divider {
    height: 0.0625rem;
    background: rgba(188, 170, 164, 0.3);
    margin: 1.5rem 0;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #3e1f1f;
    margin-bottom: 1.25rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Rating Selector for Feedback Form */
.rating-selector {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.rating-btn {
    width: 3.5rem;
    height: 3.5rem;
    border: 2px solid #e0d6d0;
    border-radius: 50%;
    background: white;
    font-size: 1.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-btn:hover {
    border-color: #a1635c;
    transform: scale(1.1);
}

.rating-btn.active {
    border-color: #a1635c;
    background: linear-gradient(135deg, #fff5f3 0%, #fee2e2 100%);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(161, 99, 92, 0.2);
}

/* Feedback form styles */
.feedback-form .form-group {
    margin-bottom: 1.5rem;
}

.feedback-rating-display {
    font-size: 2rem;
    text-align: center;
}

/* Profile Modal */
.profile-content {
    padding: 2rem;
}

.profile-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-image {
    width: 12.5rem;
    height: 12.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #8d6e63 0%, #5d4037 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2rem;
    font-weight: 800;
    color: #3e1f1f;
    margin-bottom: 0.5rem;
}

.profile-breed {
    font-size: 1.125rem;
    color: #5d4037;
    margin-bottom: 1rem;
}

.profile-badges {
    display: flex;
    gap: 0.75rem;
}

.profile-badge {
    padding: 0.5rem 1rem;
    border-radius: 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.profile-badge.type {
    background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%);
    color: #5d4037;
}

.profile-badge.status {
    background: #dcfce7;
    color: #166534;
}

.profile-section {
    margin-bottom: 1.5rem;
}

.profile-section-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #5d4037;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin-bottom: 0.75rem;
}

.profile-description {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #3e1f1f;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.profile-detail-item {
    text-align: center;
    padding: 1rem;
    background: rgba(239, 235, 233, 0.5);
    border-radius: 0.75rem;
}

.profile-detail-label {
    font-size: 0.625rem;
    color: #5d4037;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    margin-bottom: 0.5rem;
}

.profile-detail-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #a1635c;
}

/* Placeholder Image */
.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6.25rem;
    background: linear-gradient(135deg, #efebe9 0%, #fee2e2 100%);
    filter: drop-shadow(0 0.25rem 0.5rem rgba(0, 0, 0, 0.1));
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 5rem 2.5rem;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3e1f1f;
    margin-bottom: 0.75rem;
}

.empty-text {
    font-size: 1rem;
    color: #5d4037;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 0.375rem;
    height: 0.375rem;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 0.625rem;
}

::-webkit-scrollbar-thumb {
    background: rgba(141, 110, 99, 0.3);
    border-radius: 0.625rem;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(141, 110, 99, 0.5);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 0.875rem;
    border-radius: 1.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
}

.status-active {
    background: rgba(22, 101, 52, 0.9);
    color: white;
}

.status-scheduled {
    background: rgba(146, 64, 14, 0.9);
    color: white;
}

.status-inactive {
    background: rgba(100, 116, 139, 0.9);
    color: white;
}

/* Urgent Badge */
.urgent-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 0.25rem 0.75rem rgba(220, 38, 38, 0.4);
    animation: urgentPulse 2s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0.25rem 0.75rem rgba(220, 38, 38, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0.25rem 1rem rgba(220, 38, 38, 0.6); }
}

/* Reorder Buttons */
.reorder-buttons {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pet-card:hover .reorder-buttons {
    opacity: 1;
}

.reorder-btn {
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.95);
    color: #5d4037;
    font-size: 0.625rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
}

.reorder-btn:hover {
    background: #a1635c;
    color: white;
    transform: scale(1.1);
}

/* Filters Bar */
.filters-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 0.0625rem solid rgba(188, 170, 164, 0.15);
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #5d4037;
}

.filter-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 0.125rem solid rgba(188, 170, 164, 0.3);
    border-radius: 0.5rem;
    background: white;
    font-size: 0.875rem;
    color: #3e1f1f;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235d4037' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.filter-select:hover {
    border-color: #a1635c;
}

.filter-select:focus {
    outline: none;
    border-color: #a1635c;
    box-shadow: 0 0 0 0.1875rem rgba(161, 99, 92, 0.15);
}

/* Urgent Checkbox in Form */
.urgent-checkbox-group {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 0.125rem solid rgba(220, 38, 38, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
}

.urgent-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.25rem;
}

.urgent-checkbox-text {
    font-weight: 700;
    color: #dc2626;
}

.urgent-hint {
    font-size: 0.75rem;
    color: #991b1b;
    margin-left: 1.5rem;
}

/* Help Modal Styles */
.help-content {
    padding: 1.5rem;
}

.help-section {
    max-width: 50rem;
    margin: 0 auto;
}

.help-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: #3e1f1f;
    margin-bottom: 1rem;
    text-align: center;
}

.help-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.help-card {
    background: linear-gradient(135deg, #efebe9 0%, #fff5f5 100%);
    border: 0.125rem solid rgba(188, 170, 164, 0.3);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

/* Hover effect on regular cards, but NOT on full-width (Teaming) */
.help-card:not(.full-width):hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1.5rem rgba(161, 99, 92, 0.15);
    border-color: #a1635c;
}

.help-card.full-width {
    grid-column: 1 / -1;
}

.help-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
}

.help-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3e1f1f;
    margin-bottom: 0.875rem;
}

.help-card p {
    font-size: 0.9375rem;
    color: #5d4037;
    line-height: 1.7;
    margin-bottom: 0.625rem;
}

.help-card p:last-child {
    margin-bottom: 0;
}

.help-highlight {
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    color: white;
    margin-bottom: 1rem;
}

.help-highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.help-highlight h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.help-highlight p {
    font-size: 1rem;
    opacity: 0.9;
}

.help-list {
    text-align: left;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.help-list li {
    font-size: 0.875rem;
    color: #5d4037;
    line-height: 2;
}

.help-cta {
    text-align: center;
    margin-top: 1rem;
}

.help-benefits {
    background: rgba(239, 235, 233, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.help-benefits h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #3e1f1f;
    margin-bottom: 0.75rem;
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

/* Teaming Two-Column Layout */
.teaming-content-columns {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1rem;
}

.teaming-list-column {
    flex: 1;
}

.teaming-list-column .help-list {
    margin: 0;
}

.teaming-cta-column {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.teaming-cta-column:hover {
    transform: translateY(-0.25rem);
}

@media (max-width: 37.5rem) {
    .teaming-content-columns {
        flex-direction: column;
    }

    .teaming-cta-column {
        width: 100%;
    }

    .teaming-cta-column .btn {
        width: 100%;
    }
}

/* Profile CTA */
.profile-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Profile Admin Section */
.profile-admin {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 0.125rem dashed rgba(188, 170, 164, 0.4);
}

/* Adoption Form */
.adoption-form {
    padding: 2rem;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

/* File Upload Styles */
.file-upload-area {
    position: relative;
    border: 0.125rem dashed rgba(188, 170, 164, 0.5);
    border-radius: 0.75rem;
    padding: 1.875rem;
    text-align: center;
    background: rgba(239, 235, 233, 0.3);
    transition: all 0.3s;
    cursor: pointer;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: #a1635c;
    background: rgba(161, 99, 92, 0.05);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #5d4037;
}

.file-upload-icon {
    font-size: 2.25rem;
}

.file-upload-hint {
    font-size: 0.75rem;
    color: #8d6e63;
}

/* Photo Preview Grid */
.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.photo-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 0.625rem;
    overflow: hidden;
    border: 0.125rem solid transparent;
}

.photo-preview-item.is-main {
    border-color: #a1635c;
}

.photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-preview-item:hover .photo-preview-overlay {
    opacity: 1;
}

.photo-preview-btn {
    padding: 0.25rem 0.625rem;
    background: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-preview-btn:hover {
    background: #a1635c;
    color: white;
}

.photo-preview-btn.delete-btn {
    background: #c62828;
    color: white;
}

.photo-main-badge {
    position: absolute;
    top: 0.375rem;
    left: 0.375rem;
    background: #a1635c;
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
}

/* Video Preview List */
.video-preview-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1rem;
}

.video-preview-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(239, 235, 233, 0.5);
    border-radius: 0.625rem;
    border: 0.0625rem solid rgba(188, 170, 164, 0.3);
}

.video-preview-item video,
.video-preview-item img {
    width: 7.5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.5rem;
    background: #000;
}

.video-preview-info {
    flex: 1;
}

.video-preview-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3e2723;
}

.video-preview-size {
    font-size: 0.75rem;
    color: #8d6e63;
}

.video-delete-btn {
    padding: 0.5rem 0.75rem;
    background: #c62828;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.video-delete-btn:hover {
    background: #b71c1c;
}

/* Existing Media */
.existing-media {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 0.125rem dashed rgba(188, 170, 164, 0.3);
}

.existing-photos,
.existing-videos {
    margin-bottom: 1.25rem;
}

.existing-media h5 {
    font-size: 0.8125rem;
    color: #5d4037;
    margin-bottom: 0.75rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 1rem 1.5rem;
    background: #3e1f1f;
    color: white;
    border-radius: 0.75rem;
    font-weight: 600;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    transform: translateY(6.25rem);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: #166534;
}

.toast.error {
    background: #991b1b;
}

/* Profile Image Photo */
.profile-image-img {
    width: 8.75rem;
    height: 8.75rem;
    border-radius: 1.5rem;
    object-fit: cover;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    border: 0.25rem solid white;
}

/* Profile Gallery */
.profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
    gap: 0.75rem;
}

.profile-gallery-item {
    aspect-ratio: 1;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 0.1875rem solid transparent;
}

.profile-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.2);
}

.profile-gallery-item.is-main {
    border-color: #a1635c;
}

.profile-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile Videos */
.profile-videos {
    display: grid;
    gap: 1rem;
}

.profile-video-item {
    border-radius: 0.75rem;
    overflow: hidden;
    background: #000;
}

.profile-video-item video {
    width: 100%;
    max-height: 18.75rem;
    object-fit: contain;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: white;
    border: none;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lightbox-close:hover {
    background: #a1635c;
    color: white;
}

/* Pet Card Image */
.pet-image-container img.pet-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Static Pages Layout */
.pets-grid.full-width-view,
.pets-grid:has(.static-page),
.pets-grid:has(.requests-view) {
    display: block !important;
}

.requests-view {
    width: 100%;
    padding: 1.875rem;
    box-sizing: border-box;
}

/* Adoption Form */
.adoption-form-content {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.form-section-header {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.125rem solid #a1635c;
}

.form-section-header:first-child {
    margin-top: 0;
}

.form-section-header h3 {
    font-size: 1rem;
    color: #3e1f1f;
    margin: 0;
}

.pet-interest-display {
    background: linear-gradient(135deg, #efebe9 0%, #fff5f5 100%);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 0.125rem solid rgba(161, 99, 92, 0.3);
    margin-bottom: 0.5rem;
}

.pet-interest-display .pet-info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pet-interest-display .pet-thumb {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 0.75rem;
    object-fit: cover;
    background: #d7ccc8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.pet-interest-display .pet-details h4 {
    margin: 0 0 0.25rem 0;
    color: #3e1f1f;
    font-size: 1rem;
}

.pet-interest-display .pet-details p {
    margin: 0;
    color: #5d4037;
    font-size: 0.875rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #3e2723;
}

.checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #a1635c;
    cursor: pointer;
}

.adoption-form-content .form-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 0.0625rem solid rgba(188, 170, 164, 0.3);
}

/* Requests View (Admin) */
.requests-view {
    width: 100%;
    padding: 1.875rem;
    box-sizing: border-box;
}

.requests-header {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.requests-header-text h1 {
    font-size: 1.75rem;
    color: #3e1f1f;
    margin-bottom: 0.5rem;
}

.requests-header-text p {
    color: #5d4037;
    font-size: 0.9375rem;
}

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

.export-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requests-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.stat-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(239, 235, 233, 0.8);
    border: 0.125rem solid transparent;
    border-radius: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
    color: #5d4037;
}

.stat-chip:hover {
    background: rgba(161, 99, 92, 0.1);
    border-color: rgba(161, 99, 92, 0.3);
}

.stat-chip.active {
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    color: white;
    border-color: transparent;
}

.stat-chip .stat-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.75rem;
}

.stat-chip.active .stat-count {
    background: rgba(255, 255, 255, 0.3);
}

.requests-table-container {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
    border: 0.0625rem solid rgba(188, 170, 164, 0.2);
}

.requests-table {
    width: 100%;
    border-collapse: collapse;
}

.requests-table th {
    background: linear-gradient(135deg, #efebe9 0%, #e8e0dc 100%);
    padding: 0.875rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: #5d4037;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
    border-bottom: 0.125rem solid rgba(188, 170, 164, 0.3);
}

.requests-table td {
    padding: 0.875rem 1rem;
    border-bottom: 0.0625rem solid rgba(188, 170, 164, 0.15);
    font-size: 0.875rem;
    color: #3e2723;
}

.request-row {
    cursor: pointer;
    transition: background 0.2s;
}

.request-row:hover {
    background: rgba(161, 99, 92, 0.05);
}

.request-row.selected {
    background: rgba(161, 99, 92, 0.1);
}

.request-row.selected:hover {
    background: rgba(161, 99, 92, 0.15);
}

.checkbox-header,
.request-checkbox {
    width: 2.5rem;
    text-align: center;
}

.request-checkbox input[type="checkbox"],
.checkbox-header input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: #a1635c;
}

.form-select-checkbox {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: #a1635c;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-0.125rem);
}

.delete-selected-btn {
    animation: pulseDelete 1.5s ease-in-out infinite;
}

@keyframes pulseDelete {
    0%, 100% { box-shadow: 0 0.25rem 0.75rem rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0.25rem 1rem rgba(239, 68, 68, 0.5); }
}

.request-name {
    font-weight: 600;
}

.request-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.request-actions {
    display: flex;
    gap: 0.25rem;
}

.action-icon-btn {
    width: 2rem;
    height: 2rem;
    border: none;
    background: rgba(239, 235, 233, 0.8);
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon-btn:hover {
    background: rgba(161, 99, 92, 0.2);
    transform: scale(1.1);
}

.action-icon-btn.delete:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Request Details Modal */
.request-details {
    padding: 1.5rem;
}

.request-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.request-details-header h3 {
    font-size: 1.375rem;
    color: #3e1f1f;
    margin: 0;
}

.request-status-large {
    padding: 0.375rem 1rem;
    border-radius: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.request-status-large.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.request-status-large.status-reviewing {
    background: #dbeafe;
    color: #1e40af;
}

.request-status-large.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.request-status-large.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.request-date-detail {
    color: #8d6e63;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.detail-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 0.0625rem solid rgba(188, 170, 164, 0.2);
}

.detail-section:last-of-type {
    border-bottom: none;
}

.detail-section h4 {
    font-size: 0.9375rem;
    color: #5d4037;
    margin-bottom: 0.75rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.detail-grid div {
    font-size: 0.875rem;
    color: #3e2723;
}

.detail-grid div span {
    color: #8d6e63;
    font-weight: 500;
}

.detail-grid .full-width {
    grid-column: 1 / -1;
}

.request-details-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 0.125rem dashed rgba(188, 170, 164, 0.3);
}

/* Loading and Error States */
.loading-state,
.error-state {
    text-align: center;
    padding: 3.75rem 1.25rem;
}

.loading-state span,
.error-state span {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.loading-state p,
.error-state p {
    color: #5d4037;
    font-size: 1rem;
}

/* Adoption Form Video Preview */
.adopt-video-preview {
    margin-top: 1rem;
}

.adopt-video-preview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(239, 235, 233, 0.5);
    border-radius: 0.75rem;
    border: 0.0625rem solid rgba(188, 170, 164, 0.3);
}

.adopt-video-preview-item video {
    width: 10rem;
    height: 6.25rem;
    object-fit: cover;
    border-radius: 0.5rem;
    background: #000;
}

.adopt-video-info {
    flex: 1;
}

.adopt-video-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3e2723;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.adopt-video-size {
    font-size: 0.75rem;
    color: #8d6e63;
}

/* Request Details Video */
.request-video-container {
    margin-top: 0.75rem;
}

.request-video-container video {
    width: 100%;
    max-width: 31.25rem;
    border-radius: 0.75rem;
    background: #000;
}

/* CAPTCHA */
.captcha-container {
    background: linear-gradient(135deg, #efebe9 0%, #fff5f5 100%);
    border: 0.125rem solid rgba(161, 99, 92, 0.3);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.captcha-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #3e1f1f;
}

.captcha-refresh {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.captcha-refresh:hover {
    background: rgba(161, 99, 92, 0.1);
    transform: rotate(180deg);
}

.captcha-input {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.125rem;
}

/* Responsive */
@media (max-width: 64rem) {
    .sidebar {
        width: 15.625rem;
        padding: 1.25rem 1rem;
    }

    .content-header {
        padding: 1.5rem 1.875rem;
    }

    .content-body {
        padding: 1.875rem;
    }
}

@media (max-width: 48rem) {
    body {
        overflow: auto;
    }

    .app-window {
        height: auto;
        min-height: 100vh;
    }

    .menu-toggle {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -18.75rem;
        width: 17.5rem;
        height: 100vh;
        max-height: 100vh;
        z-index: 100;
        transition: left 0.3s ease;
        box-shadow: 0.25rem 0 1.25rem rgba(0, 0, 0, 0.2);
    }

    .sidebar.active {
        left: 0;
    }

    .title-bar {
        height: auto;
        min-height: 3.5rem;
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.625rem;
    }

    .title-bar-left {
        gap: 0.75rem;
    }

    .app-icon {
        font-size: 1.5rem;
    }

    .app-name {
        font-size: 1rem;
    }

    .login-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    .main-container {
        flex-direction: column;
        overflow: auto;
    }

    .content-area {
        overflow: visible;
    }

    .content-header {
        padding: 1.25rem 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .content-title {
        font-size: 1.5rem;
    }

    .content-subtitle {
        font-size: 0.875rem;
    }

    .filters-bar {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-select {
        font-size: 0.8125rem;
    }

    .reorder-buttons {
        opacity: 1;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
    }

    .content-body {
        padding: 1rem;
        overflow: visible;
    }

    .pets-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pet-card {
        border-radius: 1rem;
    }

    .pet-image-container {
        height: 12.5rem;
    }

    .pet-info {
        padding: 1rem;
    }

    .pet-name {
        font-size: 1.125rem;
    }

    .pet-details {
        gap: 0.75rem;
        padding: 0.875rem 0;
    }

    .detail-value {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal {
        width: 95%;
        max-height: 95vh;
        margin: 0.625rem;
        border-radius: 1rem;
    }

    .modal-header {
        padding: 1rem 1.25rem;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    #petForm,
    .adoption-form,
    .profile-content {
        padding: 1.25rem;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .profile-image,
    .profile-image-img {
        width: 7.5rem;
        height: 7.5rem;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .profile-badges {
        justify-content: center;
    }

    .profile-details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .profile-detail-item {
        padding: 0.75rem;
    }

    .profile-detail-value {
        font-size: 1.125rem;
    }

    .profile-cta {
        flex-direction: column;
    }

    .profile-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .profile-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Requests table mobile */
    .requests-table-container {
        overflow-x: auto;
    }

    .requests-table {
        min-width: 37.5rem;
    }

    .requests-stats {
        justify-content: center;
    }

    /* Toast mobile */
    .toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    /* Help cards mobile */
    .help-cards {
        grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
        gap: 1rem;
    }

    .help-card {
        padding: 1.5rem 1.25rem;
    }

    .help-card-icon {
        font-size: 2.5rem;
    }

    .help-card h4 {
        font-size: 1rem;
    }

    .help-card p {
        font-size: 0.875rem;
    }

    /* Detail grid mobile */
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Sponsor Animals Grid */
.sponsor-animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.sponsor-animal-card {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    border: 0.125rem solid rgba(188, 170, 164, 0.3);
    transition: all 0.3s ease;
}

.sponsor-animal-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1.5rem rgba(161, 99, 92, 0.15);
    border-color: #a1635c;
}

.sponsor-animal-image {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%);
}

.sponsor-animal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sponsor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.sponsor-animal-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #3e1f1f;
    margin-bottom: 0.25rem;
}

.sponsor-animal-info p {
    font-size: 0.75rem;
    color: #5d4037;
    margin-bottom: 0.25rem;
}

.sponsor-count {
    font-size: 0.6875rem !important;
    color: #a1635c !important;
    font-weight: 600;
}

/* Clickable Cards */
.help-card.clickable-card {
    cursor: pointer;
    position: relative;
}

.help-card.clickable-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1.5rem rgba(161, 99, 92, 0.15);
    border-color: #a1635c;
}

.card-action-hint {
    display: block;
    font-size: 0.8125rem;
    color: #a1635c;
    font-weight: 600;
    margin-top: 0.75rem;
    opacity: 0.9;
}

/* Amount Selector */
.amount-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.amount-btn {
    padding: 0.5rem 1rem;
    background: rgba(239, 235, 233, 0.8);
    border: 0.125rem solid rgba(188, 170, 164, 0.4);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #5d4037;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-btn:hover {
    border-color: #a1635c;
    background: rgba(161, 99, 92, 0.1);
}

.amount-btn.active {
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    color: white;
    border-color: #a1635c;
}

.amount-input {
    width: 5rem;
    text-align: center;
}

/* Invoices Grid */
.invoices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.invoice-card {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 0.125rem solid rgba(188, 170, 164, 0.3);
    transition: all 0.3s ease;
}

.invoice-card:hover {
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
}

.invoice-card.invoice-complete {
    opacity: 0.7;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.invoice-animal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #3e1f1f;
}

.invoice-animal-icon {
    font-size: 1.25rem;
}

.invoice-date {
    font-size: 0.75rem;
    color: #8d6e63;
}

.invoice-description {
    font-size: 0.875rem;
    color: #5d4037;
    margin-bottom: 0.75rem;
}

.invoice-amounts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.invoice-total {
    font-size: 0.875rem;
    color: #5d4037;
}

.invoice-remaining {
    font-size: 0.875rem;
    color: #dc2626;
}

.invoice-remaining.complete {
    color: #16a34a;
    font-weight: 600;
}

.invoice-progress {
    height: 0.5rem;
    background: rgba(188, 170, 164, 0.3);
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.invoice-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    border-radius: 0.25rem;
    transition: width 0.3s ease;
}

.invoice-thanks {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #16a34a;
    font-weight: 600;
}

/* Volunteer Form */
.volunteer-form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.volunteer-icon {
    font-size: 2.5rem;
}

.volunteer-form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3e1f1f;
    margin: 0;
}

.form-hint {
    font-size: 0.75rem;
    color: #8d6e63;
    margin-bottom: 0.75rem;
}

/* Transport Dates */
.transport-dates-container {
    background: rgba(239, 235, 233, 0.5);
    border-radius: 0.75rem;
    padding: 1rem;
}

.transport-date-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 0.75rem;
    align-items: end;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 0.0625rem solid rgba(188, 170, 164, 0.2);
}

.transport-date-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.btn-remove-row {
    width: 2rem;
    height: 2rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-remove-row:hover {
    background: #b91c1c;
}

/* Availability Grid */
.availability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 0.5rem;
}

/* Sponsor Form */
.sponsor-form-content h3,
.foster-form-content h3,
.contribute-form-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3e1f1f;
    margin-bottom: 0.5rem;
}

.sponsor-payment-info {
    background: linear-gradient(135deg, #efebe9 0%, #fff5f5 100%);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1.5rem;
    border: 0.0625rem solid rgba(188, 170, 164, 0.3);
}

.sponsor-payment-info p {
    font-size: 0.875rem;
    color: #5d4037;
    margin-bottom: 0.5rem;
}

.sponsor-payment-info p:last-child {
    margin-bottom: 0;
}

.contribute-remaining {
    font-size: 1.125rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

/* Button Sizes */
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* Coming Soon Card */
.coming-soon-card {
    position: relative;
    opacity: 0.85;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%) !important;
}

.coming-soon-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #a1635c 0%, #795548 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 1.5rem;
    opacity: 0.6;
}

/* Coming Soon Banner */
.coming-soon-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 0.125rem solid #f59e0b;
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.coming-soon-banner .coming-soon-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.coming-soon-banner span:not(.coming-soon-icon) {
    font-size: 1rem;
    font-weight: 800;
    color: #92400e;
    letter-spacing: 0.1rem;
}

.coming-soon-banner p {
    font-size: 0.875rem;
    color: #78350f;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Sponsor Contact Info */
.sponsor-contact-info {
    background: linear-gradient(135deg, #efebe9 0%, #fff5f5 100%);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-top: 1.5rem;
    text-align: center;
    border: 0.125rem solid rgba(188, 170, 164, 0.3);
}

.sponsor-contact-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #3e1f1f;
    margin-bottom: 0.5rem;
}

.sponsor-contact-info p {
    font-size: 0.875rem;
    color: #5d4037;
    margin: 0;
}

/* Admin Invoice Section */
.admin-invoice-section {
    margin: 1rem 0 1.5rem 0;
    text-align: center;
}

.invoice-form-content {
    padding: 0.5rem;
}

.invoice-form-content h3 {
    font-size: 1.25rem;
    color: #3e1f1f;
    margin-bottom: 0.5rem;
}

.file-upload-area {
    border: 2px dashed #bcaaa4;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(239, 235, 233, 0.3);
}

.file-upload-area:hover {
    border-color: #a1635c;
    background: rgba(239, 235, 233, 0.6);
}

.upload-placeholder {
    cursor: pointer;
}

.upload-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.upload-hint {
    font-size: 0.75rem;
    color: #8d6e63;
    margin-top: 0.25rem;
}

.file-preview {
    text-align: center;
}

.file-preview img {
    margin-bottom: 0.5rem;
}

.file-preview p {
    font-size: 0.875rem;
    color: #5d4037;
    margin: 0;
}

.pdf-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Captcha mejorado */
.captcha-instructions {
    font-size: 0.875rem;
    color: #5d4037;
    margin-bottom: 1rem;
}

.captcha-questions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.captcha-question-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 0.5rem;
}

.captcha-question-item span {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #3e1f1f;
}

.captcha-question-item .captcha-input {
    width: 8rem;
    text-align: center;
}

/* Validation Error Modal */
.validation-error-content {
    padding: 1.5rem;
}

.validation-error-content p {
    margin-bottom: 1rem;
    color: #5d4037;
}

.validation-error-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.validation-error-content ul li {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    border-left: 0.25rem solid #dc2626;
}

/* Detailed Error Popup */
.error-details {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.error-details p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #92400e;
}

.error-details p:last-child {
    margin-bottom: 0;
}

.error-details code {
    background: #fde68a;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.8rem;
    word-break: break-all;
}

.error-help {
    background: #f3f4f6;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.error-help p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.error-help ul {
    margin: 0;
    padding-left: 1.25rem;
}

.error-help ul li {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.25rem;
    background: none;
    border: none;
    padding: 0;
}

/* Privacy Policy Modal */
.privacy-policy-content {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.privacy-policy-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #3e1f1f;
    margin: 1.25rem 0 0.5rem 0;
}

.privacy-policy-content h4:first-child {
    margin-top: 0;
}

.privacy-policy-content p {
    font-size: 0.875rem;
    color: #5d4037;
    line-height: 1.6;
}

/* Legal Clauses */
.legal-clauses {
    background: rgba(239, 235, 233, 0.5);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
}

.legal-clauses .checkbox-label {
    font-size: 0.8125rem;
    line-height: 1.5;
}

.legal-clauses .checkbox-label a {
    color: #a1635c;
    text-decoration: underline;
}

/* Sponsor Button Container */
.sponsor-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
}

/* Sponsor Animal Card Image Fix */
.sponsor-animal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 48rem) {
    .transport-date-row {
        grid-template-columns: 1fr 1fr;
    }

    .sponsor-animals-grid {
        grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    }

    .invoices-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 30rem) {
    .title-bar {
        padding: 0.625rem 0.75rem;
    }

    .app-name {
        font-size: 0.875rem;
    }

    .window-controls {
        gap: 0.5rem;
    }

    .login-btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .login-btn span:first-child {
        display: none;
    }

    .content-header {
        padding: 1rem 0.75rem;
    }

    .content-title {
        font-size: 1.25rem;
    }

    .content-body {
        padding: 0.75rem;
    }

    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }

    .pet-image-container {
        height: 11.25rem;
    }

    .profile-details-grid {
        grid-template-columns: 1fr 1fr;
    }

    .profile-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal {
        width: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .modal-overlay.active {
        align-items: flex-end;
    }
}
