/* User Profile Block - Purple */
.user-profile-block {
    background: #981F62;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.user-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
    color: white;
}

.user-profile-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: white;
}

.user-profile-info {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
}

.user-profile-info:hover {
    color: #e0e7ff;
}

.user-profile-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    border-radius: 8px;
    color: #000;
    padding: 15px;
}

.user-profile-section .section-title {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}

.user-profile-details {
    padding: 0;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Force tous les éléments enfants directs à suivre la mise en page en grille */
.user-profile-details > * {
    margin: 0;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 60px;
    justify-content: center;
}


/* Styles pour les champs Drupal */
.user-profile-details .field {
    margin: 0;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 60px;
    justify-content: center;
}

.user-profile-details .field__label {
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.user-profile-details .field__item {
    color: #000;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive design */
@media (max-width: 768px) {
    .user-profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .user-profile-block {
        margin: 10px 0;
        padding: 15px;
    }

    .user-profile-details {
        grid-template-columns: 1fr;
    }

}

/**
 * Couleurs des produits daily :
 */

:root {
  --hft-color: #012f75;
  --daily-color: #E32966;
  --daily-color-light: #eb7ba1;
  --esg-color: #009EE1;
  --download-color: #33a9ab;
  --green-bonds-color: #085D40;
  --user-profile-color: #981F62;
}

body.product-daily .product-tab .left-column, body.product-daily .product-tab .right-column {
  background-color: var(--daily-color);
}

body.product-daily .nav-pills .nav-link {
  background-color: var(--daily-color);
}

body.product-daily .nav-pills .nav-link.active {
  background-color: var(--daily-color-light) !important;
}


/**
* Formulaire de contact
 */

#webform-submission-contact-form-ajax #edit-captcha-response--description.form-text{
  color: white !important;
}
