/* === LAYOUT === */
.profile-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
}

/* === PROFILE CARD === */
.profile-card {
    background-color: #fff;
    padding: 25px 30px;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.profile-card h2 {
    font-size: 1.6rem;
    margin: 0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-name-badges {
    flex: 1;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

/* === AVATAR === */
.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ddd;
    object-fit: cover;
}

/* === DISTINCTIONS === */
.profile-distinctions ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.profile-distinctions li {
    margin-bottom: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === BADGES === */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    margin-right: 5px;
    vertical-align: middle;
}

.badge-gold {
    background: #fff8dc;
    color: #b8860b;
    border: 1px solid #ffd700;
}

.badge-silver {
    background: #f0f0f0;
    color: #555;
    border: 1px solid #c0c0c0;
}

.badge-bronze {
    background: #fdf1e1;
    color: #8b4513;
    border: 1px solid #cd7f32;
}

.badge-default {
    background: #eee;
    color: #333;
    border: 1px solid #ccc;
}

/* === HOF highlight === */
.profile-hof {
    border: 3px solid gold;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    transition: 0.3s ease;
}

.record-line {
    margin-top: 8px;
    font-style: italic;
    color: #b71c1c;
}

/* === SOCIAL LINKS === */
.profile-card .socials {
    margin-top: 10px;
}

.bio {
    padding-left: 20px;
}

.socials {
    padding-left: 20px;
}

.socials p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
}

.profile-card .socials a {
    text-decoration: none;
    color: #0066cc;
    font-size: 1rem;
}

.profile-card .socials a:hover {
    text-decoration: underline;
}

/* === FORM SECTIONS === */
.edit-profile-form,
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.edit-profile-form label,
.profile-form label {
    font-weight: bold;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.edit-profile-form input,
.edit-profile-form textarea,
.profile-form input,
.profile-form textarea {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

/* === PICKS DISPLAY === */
.profile-round-picks {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: left;
}

.profile-round-picks ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-round-picks li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
}

.profile-round-picks li:last-child {
    border-bottom: none;
}

.profile-pick-team {
    font-weight: bold;
    color: #111;
}

.profile-pick-match {
    font-style: italic;
    color: #555;
    margin-left: 5px;
}

.picks-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.pick-card {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    width: 120px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.series-banner {
    background: #2c3e50;
    color: #fff;
    font-size: 0.85em;
    font-weight: bold;
    padding: 4px 0;
}

.team-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 8px auto 4px;
}

.team-abbr {
    font-size: 0.85em;
    font-weight: 600;
    color: #333;
    padding: 4px 0;
}

.pick-footer {
    padding: 6px 0;
    font-weight: bold;
    font-size: 0.9em;
    border-top: 1px solid #ddd;
}

.pick-footer.success5 {
    background: #8dffa8;
    color: #365c3f;
}

.pick-footer.success2 {
    background: #e1fde8;
    color: #054614;
}

.pick-footer.failure {
    background: #f8d7da;
    color: #721c24;
}

.pick-footer.pending {
    background: #fff3cd;
    color: #856404;
}

.round-points {
    display: inline-block;
    background: #d4edda;
    color: #155724;
    border-radius: 12px;
    padding: 4px 8px;
    margin-left: 8px;
    vertical-align: middle;
}

.team-pill {
    background: #f1f1f1;
    border-radius: 16px;
    display: inline-block;
    padding: 4px 10px;
    line-height: 1.2;
}

.match-count {
    font-weight: 400;
    font-size: 0.85em;
    color: #666;
    margin-left: 6px;
}

/* === PASSWORD === */
.change-password-box {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-top: 30px;
    text-align: left;
}

.change-password-box h3 {
    margin-bottom: 15px;
}