.profile-widget {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-widget h3 {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    margin: 0;
    font-size: 1.2em;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.profile-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.profile-widget ul li:last-child {
    border-bottom: none;
}

.profile-widget .comment {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.profile-widget .comment:last-child {
    border-bottom: none;
}

.profile-widget .comment-header {
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
}

.profile-widget .comment-content {
    color: #333;
    line-height: 1.5;
}

.profile-widget .comment-form {
    margin-top: 20px;
}

.profile-widget .comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    resize: vertical;
}

.profile-widget .comment-form input[type="submit"] {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.profile-widget .comment-form input[type="submit"]:hover {
    background: #45a049;
}

.profile-widget .accordion {
    margin-bottom: 10px;
}

.profile-widget .accordion-header {
    background: #f5f5f5;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.profile-widget .accordion-content {
    padding: 10px;
    display: none;
}

.profile-widget .accordion-content.active {
    display: block;
}

.profile-widget table {
    width: 100%;
    border-collapse: collapse;
}

.profile-widget table th,
.profile-widget table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.profile-widget table th {
    background: #f5f5f5;
    font-weight: bold;
}

.profile-widget .achievement-image {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    vertical-align: middle;
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.info-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

.pokemon-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 2px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.pokemon-card {
    min-width: 90px;
    max-width: 100px;
    width: 95px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    padding: 2px;
}

.pokemon-card:hover {
    transform: translateY(-5px);
}

.pokemon-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 2px;
}

.pokemon-info {
    color: #fff;
    white-space: normal;
}

.pokemon-name {
    font-weight: bold;
    margin-bottom: 4px;
}

.pokemon-level {
    font-size: 0.8em;
    color: #aaa;
    text-align: center;
}

.no-pokemon {
    text-align: center;
    color: #aaa;
    padding: 20px;
    width: 100%;
}

.profile-widget#player_pokemon {
    overflow-x: auto;
}

.pokemon-species {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 1px;
    text-align: center;
}

.catches-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 5px;
}

.catches-row {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.catch-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    flex: 1;
}

.catch-icon {
    width: 56px;
    height: 42px;
    object-fit: contain;
}

.catch-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.catch-species {
    font-size: 0.9em;
    color: #666;
}

.catch-species.shiny {
    color: #FFD700;
}

.catch-level {
    font-size: 0.8em;
    color: #999;
}

.catch-tries {
    font-size: 0.8em;
    color: #999;
}

.catch-details {
    display: flex;
    gap: 12px;
    font-size: 0.8em;
    color: #999;
}

.catch-level, .catch-tries {
    white-space: nowrap;
}

.no-catches {
    text-align: center;
    color: #666;
    padding: 10px;
}

.catches-grid.special {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catches-grid.special .catch-card {
    width: 100%;
}

.balance-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.balance-item:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.balance-label {
    font-size: 0.9em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-value {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.house-container {
    padding: 24px;
    background: rgba(0, 0, 0, 0.1);
}

.house-header {
    margin-bottom: 24px;
    text-align: center;
}

.house-name {
    font-size: 1.4em;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px;
}

.house-town {
    font-size: 1em;
    color: #aaa;
}

.house-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.house-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.house-stat:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.stat-label {
    font-size: 0.8em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.1em;
    color: #fff;
    font-weight: 500;
}

.house-actions {
    text-align: center;
}

.house-link {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.house-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.no-house {
    padding: 32px;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
}

.no-house-message {
    color: #999;
    margin-bottom: 16px;
    font-size: 1.1em;
}

/* Basic Info Widget */
.basic-info-container {
    padding: 24px;
}

.character-name {
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.basic-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.basic-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.basic-info-item:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.basic-info-label {
    font-size: 0.8em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.basic-info-value {
    font-size: 1.1em;
    color: #fff;
    font-weight: 500;
}

.status-offline {
    color: #ff4444 !important;
    font-weight: bold;
}

.status-online {
    color: #44ff44 !important;
    font-weight: bold;
}

.basic-info-value img {
    height: 16px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Common styles for all widgets */
.profile-widget li {
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.profile-widget li:hover {
    background: rgba(0, 0, 0, 0.1);
}

.profile-widget a {
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.profile-widget a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Player Bio Widget */
.bio-container {
    padding: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.bio-content {
    color: #fff;
    line-height: 1.6;
    font-size: 1.1em;
}

.bio-content p {
    margin-bottom: 12px;
}

.bio-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 8px 0;
}

.bio-content a {
    color: #fff;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.bio-content a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.no-bio {
    color: #999;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.bio-date {
    color: #999;
    font-size: 0.9em;
    text-align: right;
    margin-top: 12px;
    font-style: italic;
} 