@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Dark Theme (Default) */
    --bg-main: #000000;
    --card-bg: #0f0f0f;
    --accent: #00ff88;
    --accent-glow: rgba(0, 255, 136, 0.15);
    --text-white: #ffffff;
    --text-gray: #888888;
    --border-color: rgba(255, 255, 255, 0.1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --danger: #ff3333;
}

body.theme-light {
    --bg-main: #f5f7fa;
    --card-bg: #ffffff;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.1);
    --text-white: #1f2937;
    --text-gray: #6b7280;
    --border-color: rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-white);
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.bg-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: radial-gradient(circle at 50% 30%, var(--accent-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Top Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.lang-select {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hero Section */
.profile-hero {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
    align-items: flex-end;
}

.hero-image-wrapper {
    width: 200px;
    height: 250px;
    position: relative;
    overflow: hidden;
    align-self: flex-end;
    margin-bottom: -2px; /* Karta tam yaslanması için */
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

.hero-content {
    flex: 1;
    padding-top: 10px;
}

.pet-name {
    font-size: 2.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.pet-name i {
    color: var(--accent);
    font-size: 1.2rem;
}

.pet-meta {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.status-badge {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.1);
    padding: 15px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.status-badge.lost {
    background: rgba(255, 51, 51, 0.05);
    border-color: rgba(255, 51, 51, 0.1);
}

.status-badge i {
    color: var(--accent);
    margin-top: 3px;
}

.status-badge.lost i {
    color: var(--danger);
}

.status-badge h4 {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.status-badge p {
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.3;
}

/* Quick Actions Card */
.actions-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.actions-header h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.actions-header p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.action-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 15px 5px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.2s;
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.icon-blue { background: var(--bg-main); color: #44aaff; border: 1px solid #44aaff; }
.icon-green { background: var(--bg-main); color: #22cc66; border: 1px solid #22cc66; }
.icon-purple { background: var(--bg-main); color: #7755ff; border: 1px solid #7755ff; }
.icon-cyan { background: var(--bg-main); color: #00cccc; border: 1px solid #00cccc; }

.action-btn span { font-size: 0.75rem; display: block; font-weight: 600; }
.action-btn small { font-size: 0.65rem; color: var(--text-gray); }

/* Info Section Card */
.info-section {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.section-title i { color: var(--accent); }

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

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

.info-label { color: var(--text-gray); font-size: 0.85rem; }
.info-value { font-size: 0.85rem; font-weight: 500; }

.badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success { background: rgba(0, 255, 136, 0.1); color: var(--accent); }

/* Bottom Message */
.footer-message {
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-message i {
    font-size: 1.5rem;
    color: var(--accent);
}

/* Owner Header Sticky */
.owner-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

/* Setup & Edit Page Styles */
.setup-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.setup-header i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.setup-header h1 {
    font-size: 2rem;
    font-weight: 800;
}

.setup-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 50px;
}

.progress-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.progress-bar.active {
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 18px;
    border-radius: 14px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.gender-switch {
    display: flex;
    gap: 10px;
}

.gender-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gender-btn.active {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-primary {
    width: 100%;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    margin-top: 10px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    cursor: pointer;
}

.checkbox-group input {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    position: relative;
}

.checkbox-group input:checked + .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-group input:checked + .checkmark::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
