﻿.profile-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1.5rem;
}

.tab-button {
    flex: 1;
    padding: 0.75rem;
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    transition: 0.2s ease;
}

    .tab-button:hover {
        background: #f7f7f7;
    }

    .tab-button.active {
        border-bottom: 2px solid #0078d7;
        color: #0078d7;
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #555;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .stat-icon.blue {
        background: #e8f1ff;
        color: #0078d7;
    }

    .stat-icon.green {
        background: #e6f8ee;
        color: #28a745;
    }

    .stat-icon.purple {
        background: #f2e6ff;
        color: #6f42c1;
    }

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.address-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 1rem;
}

.input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.muted {
    color: #777;
    font-size: 0.9rem;
}

.font-medium {
    font-weight: 500;
}

.flex {
    display: flex;
}

.between {
    justify-content: space-between;
}

.center {
    justify-content: center;
}

hr {
    border: none;
    border-top: 1px solid #eee;
}

.toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
