:root {
    --bg-color: #fbfbfd;
    --card-bg: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --accent-blue: #0071e3;
    --accent-hover: #0077ed;
    --border-color: rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* Navbar */
.navbar {
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    width: 100%;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    z-index: 100;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Layout */
.container {
    max-width: 480px;
    margin: 40px auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

.state-message {
    text-align: center;
    color: var(--text-muted);
    font-size: 17px;
    margin-top: 40px;
}

/* Profile Card */
.profile-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.pet-header {
    text-align: center;
    margin-bottom: 30px;
}

.avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    color: #fff;
    font-size: 36px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.pet-name {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.pet-breed {
    font-size: 17px;
    color: var(--text-muted);
}

/* Info Groups */
.section-title {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin: 24px 0 12px;
}

.info-group {
    background: #f5f5f7;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 15px;
}

.info-row:last-child {
    border-bottom: none;
}

.label {
    color: var(--text-muted);
    font-weight: 500;
}

.value {
    font-weight: 500;
    text-align: right;
}

.link {
    color: var(--accent-blue);
    text-decoration: none;
}

/* Buttons */
.actions {
    margin-top: 32px;
}

.btn-primary {
    width: 100%;
    background-color: var(--accent-blue);
    color: white;
    border: none;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:active {
    background-color: #005bb5;
}

.status-msg {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}