/* ========== profile.tmpl এর স্টাইল ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.profile-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
    max-width: 420px;
    margin: 1rem auto;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(135deg, #007a41, #28a745);
    border-radius: 0 0 50% 50% / 0 0 30px 30px;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    background: white;
    border: 4px solid #007a41;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #007a41;
    box-shadow: 0 4px 15px rgba(0,122,65,0.2);
}

.profile-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.2rem;
    position: relative;
    z-index: 1;
}

.profile-details {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

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

.stat-item .number {
    font-size: 1.7rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.stat-item .label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logout-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.7rem 2.8rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(239,68,68,0.3);
    position: relative;
    z-index: 1;
}

.logout-btn:hover {
    background: #dc2626;
    box-shadow: 0 6px 18px rgba(239,68,68,0.4);
    transform: translateY(-1px);
}

.profile-loading,
.profile-error {
    padding: 3rem 1rem;
    color: #6b7280;
    font-size: 1rem;
}
.profile-error {
    color: #ef4444;
}
