/* प्रोफाइल पेज के लिए स्टाइल */
.profile-wrapper {
    width: 100%;
    max-width: 420px;
    min-height: 100vh;
    background-color: #0a2d3e;
    color: white;
    display: flex;
    flex-direction: column;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #004d40;
}
.profile-header h1 { font-size: 1.2em; margin: 0; }
.profile-header a { color: white; font-size: 1.2em; text-decoration: none; }

.profile-main { 
    padding: 20px;
    padding-bottom: 80px;
 }

.user-card { text-align: center; margin-bottom: 30px; }
.avatar-container { margin-bottom: 15px; }
.avatar-container img { width: 100px; height: 100px; border-radius: 50%; border: 4px solid #4db6ac; }
#user-display-name { margin: 0 0 5px 0; font-size: 1.5em; }
.join-date { font-size: 0.9em; color: #aaa; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; }
.stat-item { background: rgba(0,0,0,0.2); padding: 20px; border-radius: 10px; text-align: center; }
.stat-item i { font-size: 1.8em; color: #4db6ac; margin-bottom: 10px; }
.stat-value { display: block; font-size: 1.4em; font-weight: bold; }
.stat-label { font-size: 0.8em; color: #ccc; }

.referral-card { background: linear-gradient(45deg, #00796b, #004d40); padding: 20px; border-radius: 10px; text-align: center; margin-bottom: 30px; }
.referral-card h3 { margin-top: 0; }
.referral-code-box { background: rgba(0,0,0,0.3); padding: 10px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; margin: 15px 0; }
#referral-code { font-size: 1.2em; font-weight: bold; letter-spacing: 2px; }
#copy-code-btn { background: none; border: none; color: white; font-size: 1.2em; cursor: pointer; }
.share-btn { width: 100%; background: #25D366; color: white; padding: 12px; border: none; border-radius: 8px; font-size: 1em; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }

.settings-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.setting-item { display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.2); padding: 15px; border-radius: 8px; color: white; text-decoration: none; }
.setting-item span i { margin-right: 10px; color: #4db6ac; }

.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; max-width: 420px; margin: 0 auto; display: flex; justify-content: space-around; background: #004d40; padding: 10px 0;   box-shadow: 0 -2px 10px rgba(0,0,0,0.3);}
.bottom-nav-item { color: #ccc; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 0.8em; }
.bottom-nav-item.active { color: white; }
.bottom-nav-item i { font-size: 1.5em; }


.setting-item span {
    display: flex;
    align-items: center;
}

/* अवतार अपलोड के लिए स्टाइल */
.avatar-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto; /* सेंटर में करें */
}
.avatar-container label {
    cursor: pointer;
}
.avatar-edit-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    text-align: center;
    padding: 5px 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s;
}
.avatar-container:hover .avatar-edit-overlay {
    opacity: 1;
}



/* feedback popup */
.feedback-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 40, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.feedback-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.feedback-card {
    background: #1e3a5f;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 380px;
    border: 1px solid #4db6ac;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.feedback-overlay.visible .feedback-card {
    transform: translateY(0);
}

.close-feedback-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 2em;
    cursor: pointer;
}
.feedback-card h3 { text-align: center; margin: 0 0 10px 0; }
.feedback-card p { text-align: center; color: #ccc; margin: 0 0 20px 0; }

#feedback-message {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #4db6ac;
    background: rgba(0,0,0,0.2);
    color: white;
    font-size: 1em;
    resize: vertical;
}
.char-counter { text-align: right; font-size: 0.8em; margin: 5px 0 15px 0 !important; }

.submit-feedback-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #00A86B;
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
}
.feedback-response {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}


/* Trophy Case Section */

.trophy-case {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.trophy-case h3 {
    margin: 0 0 20px 0;
    color: #ffd700;
}

.trophies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.trophy-item {
    font-size: 2.5em; /* आइकन का आकार */
    text-align: center;
    position: relative;
}
.trophy-item span {
    display: block;
    font-size: 0.4em; /* टेक्स्ट का आकार */
    color: #ccc;
    font-weight: 500;
    margin-top: 5px;
}

.rank-1-icon { color: #ffd700; } /* Gold */
.rank-2-icon { color: #c0c0c0; } /* Silver */
.rank-3-icon { color: #cd7f32; } /* Bronze */

.no-trophies-message {
    font-style: italic;
    color: #aaa;
}
.delete-account-link span {
    color: #e74c3c; /* A noticeable red color */
    font-weight: 500;
}



