/* =========================================
 * 🐾 Page-Specific Styles
 * For: auth.html, pet.html, dashboard.html, success.html
 * ========================================= */

/* Page Header */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 24px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.page-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.page-header .logo img {
    height: 36px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.header-nav a {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.btn-auth {
    padding: 10px 20px;
    background: var(--secondary-black);
    color: var(--white) !important;
    border-radius: 8px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-auth:hover {
    background: #222;
    transform: translateY(-1px);
}

.btn-auth:hover {
    opacity: 0.8;
}

/* Container - override for non-landing pages */
body.page-view .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Page Wrapper */
.pet-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 40px;
}

.pet-form-container {
    width: 100%;
    max-width: 560px;
    background: var(--white);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* Form Header */
.pet-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.pet-form-header h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-black);
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: var(--dark-charcoal);
    opacity: 0.6;
    font-size: 15px;
}

/* Progress */
.pet-progress {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.progress-step {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.progress-step.active {
    background: var(--primary-yellow);
    transform: scale(1.2);
}

/* Form Group - Fixed */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dark-charcoal);
    opacity: 0.7;
    margin-bottom: 10px;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--secondary-black);
    background: var(--white);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(244, 196, 0, 0.15);
}

.form-group input::placeholder {
    color: var(--dark-charcoal);
    opacity: 0.35;
}

.required {
    color: var(--primary-yellow);
}

.char-count {
    display: block;
    text-align: right;
    font-size: 11px;
    color: var(--dark-charcoal);
    opacity: 0.4;
    margin-top: 6px;
}

.pet-photo-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.pet-photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.08);
}

/* Pet Type Selector - Fixed Grid */
.pet-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pet-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
}

.pet-type-btn:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.pet-type-btn.selected {
    border-color: var(--primary-yellow);
    background: rgba(244, 196, 0, 0.08);
}

.pet-type-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f0f0f0;
}

.pet-type-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pet-type-btn span {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-black);
}

/* Option Group */
.option-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.option-group.three-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.option-btn {
    flex: 1;
    min-width: 80px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-charcoal);
    cursor: pointer;
    transition: all 0.2s;
}

.option-btn:hover {
    border-color: var(--primary-yellow);
}

.option-btn.selected {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--secondary-black);
}

/* Pet Navigation */
.pet-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    gap: 16px;
}

.btn-back {
    padding: 16px 24px;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-charcoal);
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-back:hover {
    opacity: 1;
}

.btn-next {
    flex: 1;
    max-width: 200px;
    height: 54px;
    background: var(--secondary-black);
    border: none;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
}

.btn-next:hover {
    background: var(--primary-yellow);
    color: var(--secondary-black);
}

/* Weight Slider */
.weight-slider-container {
    margin-bottom: 24px;
}

.weight-slider {
    width: 100%;
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
}

.weight-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: #111111;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 3px solid #ffffff;
    transition: transform 0.2s ease;
}

.weight-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.weight-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: #111111;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 3px solid #ffffff;
    transition: transform 0.2s ease;
}

.weight-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
}

.weight-display {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-black);
    margin-top: 12px;
}

/* Tags Group */
.tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-btn {
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--dark-charcoal);
    cursor: pointer;
    transition: all 0.2s;
}

.tag-btn:hover {
    border-color: var(--primary-yellow);
    background: rgba(244, 196, 0, 0.1);
}

.tag-btn.selected {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--secondary-black);
}

/* Activity Options */
.activity-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.activity-btn:hover {
    border-color: var(--primary-yellow);
    background: rgba(244, 196, 0, 0.1);
}

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

.activity-icon {
    font-size: 24px;
}

.activity-label {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-black);
}

.activity-desc {
    font-size: 13px;
    color: var(--dark-charcoal);
    opacity: 0.6;
}

/* Toy Options */
.toy-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.toy-btn {
    padding: 12px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    background: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--dark-charcoal);
    cursor: pointer;
    transition: all 0.2s;
}

.toy-btn:hover {
    border-color: var(--primary-yellow);
    background: rgba(244, 196, 0, 0.1);
}

.toy-btn.selected {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--secondary-black);
}

/* Avoid Tags */
.avoid-tags-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
}

.avoid-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* =========================================
 * 📱 Mobile Responsiveness
 * ========================================= */

@media (max-width: 600px) {
    .pet-page {
        padding: 80px 16px 32px;
    }
    
    .pet-form-container {
        padding: 32px 24px;
        border-radius: 24px;
    }
    
    .pet-type-selector {
        gap: 12px;
    }
    
    .pet-type-btn {
        padding: 20px 16px;
    }
    
    .pet-type-img {
        width: 64px;
        height: 64px;
    }
    
    .option-group.three-col {
        grid-template-columns: 1fr;
    }
    
    .pet-nav {
        flex-direction: column-reverse;
    }
    
    .btn-next {
        width: 100%;
        max-width: none;
    }
    
    .btn-back {
        padding: 12px;
    }
}

/* =========================================
 * 🔐 Auth Page Styles
 * ========================================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 20px 28px;
}

.auth-form-container {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: rgba(0, 0, 0, 0.04);
    padding: 6px;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-charcoal);
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab.active {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: var(--secondary-black);
}

.auth-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

/* Auth Form */
.auth-form h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-black);
    margin-bottom: 6px;
    text-align: center;
}

.auth-form .auth-subtitle {
    text-align: center;
    color: var(--dark-charcoal);
    opacity: 0.6;
    font-size: 15px;
    margin-bottom: 28px;
}

/* Google Button */
.google-btn {
    width: 100%;
    height: 52px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: #444;
    transition: all 0.2s;
}

.google-btn:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.google-btn svg {
    width: 20px;
    height: 20px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.divider span {
    font-size: 12px;
    color: var(--dark-charcoal);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Form Groups */
.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dark-charcoal);
    opacity: 0.7;
    margin-bottom: 8px;
}

.auth-form .form-group input {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--secondary-black);
    background: var(--white);
    transition: all 0.2s;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(244, 196, 0, 0.15);
}

.auth-form .form-group input::placeholder {
    color: var(--dark-charcoal);
    opacity: 0.35;
}

/* Submit Button */
.auth-form .submit-btn {
    width: 100%;
    height: 54px;
    background: var(--secondary-black);
    border: none;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-form .submit-btn:hover {
    background: var(--primary-yellow);
    color: var(--secondary-black);
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--dark-charcoal);
    margin-top: 24px;
}

.auth-switch a {
    color: var(--secondary-black);
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Hidden */
.hidden {
    display: none !important;
}

/* Loading */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
 * ✅ Success Page Styles
 * ========================================= */

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 40px;
}

.success-card {
    width: 100%;
    max-width: 480px;
    background: var(--white);
    border-radius: 32px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.success-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.success-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.success-card h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-black);
    margin-bottom: 12px;
}

.success-card > p {
    font-size: 16px;
    color: var(--dark-charcoal);
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 32px;
}

/* Pet Summary */
.pet-summary {
    background: rgba(244, 196, 0, 0.08);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 32px;
}

.pet-summary-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pet-summary-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-yellow);
}

.pet-summary-info {
    text-align: left;
}

.pet-summary-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-black);
    margin-bottom: 4px;
}

.pet-summary-info p {
    font-size: 14px;
    color: var(--dark-charcoal);
    opacity: 0.6;
}

.pet-summary-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.detail-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dark-charcoal);
    opacity: 0.5;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-black);
}

/* Button */
.success-card .btn-primary {
    width: 100%;
    max-width: 300px;
    height: 54px;
    background: var(--secondary-black);
    border: none;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.success-card .btn-primary:hover {
    background: var(--primary-yellow);
    color: var(--secondary-black);
}

/* =========================================
 * 📱 Mobile Success
 * ========================================= */

@media (max-width: 600px) {
    .success-page {
        padding: 80px 16px 32px;
    }
    
    .success-card {
        padding: 32px 24px;
        border-radius: 24px;
    }
    
    .success-card h1 {
        font-size: 26px;
    }
    
    .pet-summary-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .auth-page {
        padding: 88px 16px 24px;
    }
    
    /* Mobile Header */
    .navbar,
    .page-header {
        padding: 10px 16px;
    }
    
    .page-header .logo img,
    .navbar .logo img {
        height: 30px;
    }
}

/* =========================================
 * 📱 Mobile Success
 * ========================================= */

@media (max-width: 600px) {
    .success-page {
        padding: 80px 16px 32px;
    }
    
    .success-card {
        padding: 32px 24px;
        border-radius: 24px;
    }
    
    .success-card h1 {
        font-size: 26px;
    }
    
    .pet-summary-details {
        grid-template-columns: 1fr;
    }
}
/* =========================================
 * 📊 Dashboard Page Styles
 * ========================================= */

.dashboard-page {
    min-height: 100vh;
    padding: 80px 48px 48px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
}

.dashboard-header h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-black);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-details {
    text-align: right;
}

.user-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-black);
}

.user-email {
    font-size: 13px;
    color: var(--dark-charcoal);
    opacity: 0.6;
}

    .user-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--primary-yellow);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-heading);
        font-size: 18px;
        font-weight: 700;
        color: var(--secondary-black);
    }
}

/* =========================================
 * 📊 Dashboard Page Styles (Enhanced)
 * ========================================= */

.dashboard-page {
    min-height: 100vh;
    padding: 100px 24px 48px;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 24px;
}

.header-content h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: #111111;
    line-height: 1.1;
    margin-bottom: 8px;
}

.header-subtext {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.user-details {
    text-align: right;
}

.user-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #111111;
}

.user-email {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #111111;
}

/* Cards Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Dashboard Card - Enhanced */
.dashboard-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.dashboard-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.dashboard-card h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 24px;
}

/* Card Header */
.card-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-header h2 {
    margin-bottom: 0;
}

#petActionBtn {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #111111;
    color: #ffffff;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #333333;
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 10px 18px;
    background: #f3f3f3;
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: #111111;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #e5e5e5;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state p {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

/* Pet Display */
.pet-display {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.pet-card {
    background: #f8f8f8;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
}

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

.pet-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.pet-card-info {
    padding: 20px;
}

.pet-card-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
}

.pet-card-breed {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 16px;
}

.btn-card {
    display: inline-block;
    padding: 10px 20px;
    background: #111111;
    color: #ffffff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-card:hover {
    background: #333;
}

.pet-display-img {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.pet-display-info {
    flex: 1;
}

.pet-display-name {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
}

.pet-display-breed {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.pet-details-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pet-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pet-detail-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(0, 0, 0, 0.5);
}

.pet-detail-value {
    font-size: 15px;
    font-weight: 600;
    color: #111111;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dashboard-page {
        padding: 80px 16px 32px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-content h1 {
        font-size: 32px;
    }
    
    .user-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .user-details {
        text-align: left;
    }
    
    .dashboard-card {
        padding: 24px;
    }
    
    .pet-display {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .pet-display-img {
        width: 160px;
        height: 160px;
    }
    
    .pet-details-list {
        width: 100%;
    }
    
    .account-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.dashboard-card .btn-secondary:hover {
    background: var(--primary-yellow);
}

#petCardContent {
    text-align: center;
    padding: 20px 0;
}

#petCardContent p {
    font-size: 15px;
    color: var(--dark-charcoal);
    opacity: 0.6;
    margin-bottom: 16px;
}

#petCardContent .btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--secondary-black);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s;
}

#petCardContent .btn-primary:hover {
    background: var(--primary-yellow);
    color: var(--secondary-black);
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(244, 196, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
}

.action-btn:hover {
    background: rgba(244, 196, 0, 0.15);
    border-color: var(--primary-yellow);
}

.action-icon {
    font-size: 24px;
}

.action-content h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-black);
    margin-bottom: 4px;
}

.action-content p {
    font-size: 13px;
    color: var(--dark-charcoal);
    opacity: 0.6;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 16px;
    background: rgba(244, 196, 0, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary-black);
}

.dashboard-card.account-card {
    margin-top: 32px;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.account-item label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

.account-item div {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
}

@media (max-width: 900px) {
    .dashboard-page {
        padding: 80px 24px 32px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .dashboard-header h1 {
        font-size: 28px;
    }
    
    .user-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .account-section .account-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
 * Responsive Hardening Pass
 * ========================================= */

@media (max-width: 1200px) {
    body.page-view .container,
    .dashboard-container {
        padding: 0 20px;
    }

    .auth-page {
        padding: 92px 24px 28px;
    }

    .auth-left {
        padding-right: 24px;
    }

    .auth-right {
        padding-left: 24px;
    }

    .pet-page,
    .success-page,
    .dashboard-page {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 992px) {
    .page-header,
    .navbar {
        padding: 12px 16px;
    }

    .header-nav {
        gap: 12px;
    }

    .header-nav a {
        font-size: 13px;
    }

    .auth-form-container {
        width: 100%;
        max-width: 540px;
    }

    .pet-form-container,
    .success-card {
        max-width: 680px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .user-info {
        width: 100%;
        justify-content: space-between;
    }

    .card-header {
        gap: 10px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    body.page-view .container,
    .dashboard-container {
        padding: 0 12px;
    }

    .page-header .logo img,
    .logo img {
        height: 32px;
    }

    .btn-auth {
        padding: 8px 12px;
        font-size: 12px;
    }

    .auth-form-container,
    .pet-form-container,
    .success-card,
    .dashboard-card {
        border-radius: 18px;
        padding: 20px 16px;
    }

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

    .pet-type-selector {
        grid-template-columns: 1fr;
    }

    .pet-nav {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .btn-next,
    .pet-nav .btn-submit,
    .auth-form .submit-btn,
    .success-card .btn-primary {
        width: 100%;
        max-width: none;
    }

    .option-group.three-col {
        grid-template-columns: 1fr;
    }

    .toy-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .pet-display {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }

    .pet-display-img {
        width: 140px;
        height: 140px;
    }

    .pet-details-list,
    .account-grid {
        grid-template-columns: 1fr;
    }

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

    .header-content h1 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .page-header,
    .navbar {
        padding: 8px 10px;
    }

    .header-nav {
        gap: 8px;
    }

    .header-nav a {
        font-size: 11px;
    }

    .auth-page {
        padding-top: 76px;
    }

    .pet-page,
    .success-page,
    .dashboard-page {
        padding: 76px 12px 20px;
    }

    .pet-form-header h1,
    .success-card h1 {
        font-size: 24px;
    }

    .auth-form h2 {
        font-size: 24px;
    }

    .user-avatar {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .pet-card-info {
        padding: 14px;
    }
}
