/**
 * Theme Name:  Sonaar
 * Theme URI:   https://sonaar.io/
 * Description: Music and Podcast WordPress Themes - Sonaar designs and develops creative WordPress Themes for Musicians, Music Bands and Podcasters
 * Tags: custom-colors, custom-header, custom-menu, featured-images
 *
 * Author:      Sonaar Music
 * Author URI:  https://sonaar.io
 *
 * Version:     3.1.9
 * Text Domain: sonaar
 *
 * License:     GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
**/
/* Style général pour la page de profil */
.wpum-template.wpum-profile-page {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* En-tête du profil */
#profile-header-container {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 12px 12px 0 0;
    padding: 40px 30px 30px;
    margin-bottom: 30px;
    position: relative;
}

/* Image de couverture */
#header-cover-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 200px;
    border-radius: 12px;
    position: relative;
    margin-bottom: 80px;
}

/* Container de l'avatar */
#header-avatar-container {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

#header-avatar-container img {
    border: 5px solid #1a1a1a;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

#header-avatar-container img:hover {
    transform: scale(1.05);
}

/* Détails du profil */
#header-profile-details {
    text-align: center;
    padding-top: 20px;
}

#header-name-container h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

#header-name-container h2 small {
    display: block;
    margin-top: 10px;
}

#header-name-container h2 a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

#header-name-container h2 a:hover {
    color: #764ba2;
}

/* Navigation du profil */
.profile-navbar {
    background: #2c2c2c;
    border-radius: 8px;
    padding: 10px;
    margin: 20px auto;
    max-width: 600px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.profile-navbar a {
    padding: 12px 24px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: transparent;
}

.profile-navbar a:hover {
    background-color: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.profile-navbar a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* Contenu du profil */
#profile-tab-content {
    background: #2c2c2c;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.profile-content-settings {
    color: #ffffff;
}

/* Groupe de champs */
.profile-fields-group {
    margin-bottom: 30px;
}

.profile-fields-group .group-title {
    color: #667eea;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3a3a3a;
}

/* Table des champs du profil */
.profile-fields-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.profile-fields-table tr {
    background: #1a1a1a;
    transition: background 0.3s ease;
}

.profile-fields-table tr:hover {
    background: #252525;
}

.profile-fields-table td {
    padding: 15px 20px;
    color: #ffffff;
}

.profile-fields-table td.label {
    font-weight: 600;
    color: #a0a0a0;
    width: 35%;
    border-right: 2px solid #3a3a3a;
}

.profile-fields-table td.data {
    color: #ffffff;
    font-size: 15px;
}

/* Section crédit (à ajouter en haut de la page) */
.credit-balance-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.credit-info {
    text-align: center;
    color: #ffffff;
}

.credit-info h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.credit-info .uw-balance,
.balance-amount {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .wpum-template.wpum-profile-page {
        padding: 15px;
    }
    
    #profile-header-container {
        padding: 20px 15px 15px;
    }
    
    #header-cover-image {
        height: 150px;
        margin-bottom: 60px;
    }
    
    #header-avatar-container {
        bottom: -50px;
    }
    
    #header-avatar-container img {
        width: 100px;
        height: 100px;
    }
    
    #header-name-container h2 {
        font-size: 22px;
    }
    
    .profile-navbar {
        flex-direction: column;
        padding: 5px;
    }
    
    .profile-navbar a {
        width: 100%;
        text-align: center;
    }
    
    .profile-fields-table td.label {
        width: 40%;
        font-size: 14px;
    }
    
    .profile-fields-table td {
        padding: 12px 15px;
    }
    
    #profile-tab-content {
        padding: 20px 15px;
    }
    
    .credit-info h3 {
        font-size: 16px;
    }
    
    .credit-info .uw-balance,
    .balance-amount {
        font-size: 28px;
    }
}