/* =========================================
   BRAINBYT PROFILE.CSS
========================================= */

.profile-app { max-width: 600px; margin: 0 auto; padding: 20px; padding-top: 30px; }

/* Profile Header Card */
.profile-header-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3b82f6;
    background: #0f172a;
}

.edit-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #3b82f6;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.edit-avatar-btn:hover { transform: scale(1.1); }

.profile-name { color: #ffffff; font-size: 1.5rem; font-weight: 800; margin-bottom: 5px; }
.profile-uid { color: #facc15; font-family: monospace; font-size: 0.9rem; font-weight: 600; margin-bottom: 5px; }
.profile-email { color: #94a3b8; font-size: 0.85rem; }

/* Stats Grid */
.profile-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.p-stat-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.p-stat-icon { font-size: 2rem; }
.p-stat-info h3 { color: #ffffff; font-size: 1.5rem; font-weight: 800; margin: 0; }
.p-stat-info p { color: #94a3b8; font-size: 0.8rem; margin: 0; margin-top: 3px; }

/* Actions */
.profile-actions { display: flex; flex-direction: column; gap: 15px; }

.action-btn {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.logout-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.logout-btn:hover { background: #ef4444; color: #fff; }
/* Add this to the end of your original profile.css */
.action-btn {
    margin-bottom: 15px; /* Button ke beech space ke liye */
}
