/**
 * Styles pour la section propriétaire personnalisée
 * Thème: WPRentals-Child
 */

/* Conteneur principal */
.custom-owner-section {
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto 30px;
    max-width: 1200px;
    width: 100%;
}

.custom-owner-section-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #222;
}

/* Section principale */
.custom-owner-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Colonne de gauche avec l'image et les infos */
.custom-owner-left {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .custom-owner-left {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 0;
        padding-right: 30px;
    }
}

/* Informations du propriétaire */
.custom-owner-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.custom-owner-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    position: relative;
}

.custom-owner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-owner-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-owner-badge i {
    color: #222;
    font-size: 14px;
}

.custom-owner-details {
    flex: 1;
}

.custom-owner-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #222;
    display: flex;
    align-items: center;
}

.custom-owner-type {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.custom-owner-type i {
    margin-right: 5px;
    color: #222;
}

.custom-owner-stats {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.custom-owner-rating {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.custom-owner-rating-value {
    font-size: 16px;
    font-weight: 500;
    margin-right: 5px;
    color: #222;
}

.custom-owner-rating-star {
    color: #222;
    font-size: 14px;
}

.custom-owner-reviews {
    font-size: 14px;
    color: #666;
}

/* Description du propriétaire */
.custom-owner-description {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* Informations supplémentaires */
.custom-owner-additional-info {
    margin-top: 20px;
}

.custom-owner-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.custom-owner-info-item i {
    width: 20px;
    margin-right: 10px;
    color: #222;
}

.custom-owner-info-text {
    font-size: 14px;
    color: #333;
}

/* Colonne de droite avec le formulaire de contact */
.custom-owner-right {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .custom-owner-right {
        flex: 0 0 40%;
        max-width: 40%;
        padding-left: 30px;
        border-left: 1px solid #eee;
    }
}

/* Bouton de contact */
.custom-owner-contact-btn {
    display: inline-block;
    background-color: #222;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: center;
    transition: background-color 0.2s ease;
    margin-top: 20px;
}

.custom-owner-contact-btn:hover {
    background-color: #333;
    color: #fff;
}

/* Informations de réponse */
.custom-owner-response {
    margin-top: 20px;
    padding-top: 20px;
}

.custom-owner-response-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.custom-owner-response-label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.custom-owner-response-value {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

/* Propriétaire vérifié */
.custom-owner-verified {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 12px;
}

.custom-owner-verified i {
    margin-right: 10px;
    color: #222;
    font-size: 16px;
}

.custom-owner-verified-text {
    font-size: 14px;
    color: #333;
}

/* Lien vers le profil */
.custom-owner-profile-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
    color: #222;
    text-decoration: underline;
}

.custom-owner-profile-link:hover {
    color: #333;
}

/* Message de sécurité */
.custom-owner-security-message {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

.custom-owner-security-message i {
    margin-right: 10px;
    color: #222;
    font-size: 16px;
}

.custom-owner-security-message-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}
