/* Page profil simple */

.profile-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Styles copiés de video.css pour compatibilité */
.video-content {
    margin: 0 auto;
    padding: 0;
}

.main-video-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 28px;
    border-bottom: 2px solid #333;
    padding-top: 15px;
}

.video-info-section {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.tags-section,
.physical-section {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
}

.model-info-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.model-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.model-avatar {
    width: 100px;
    height: 100px;
    border: 2px solid #ddd;
}

.model-details {
    flex: 1;
}

.model-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.model-name {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 15px;
}

.model-name a {
    color: #000;
    text-decoration: none;
}

.model-name a:hover {
    text-decoration: underline;
}

.video-count-badge {
    font-size: 14px;
    color: #000;
    font-weight: 700;
}

.model-stats {
    color: #666;
    font-size: 14px;
}


.verified-badge {
    color: #10b981;
    font-size: 16px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mt-25 {
    margin-top: 25px;
}

.stats-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero profil */
.profile-hero {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 20px;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #ddd;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.profile-stats {
    color: #666;
    margin-bottom: 15px;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.btn-action {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.btn-primary {
    background: #333;
    color: white;
}

.btn-primary:hover {
    background: #555;
}

.btn-secondary {
    background: white;
    border: 1px solid #333;
    color: #333;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

/* Layout 2 colonnes */
.profile-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

/* Sections */
.section {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.section-title-small {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}

/* Description */
.profile-description {
    line-height: 1.6;
    color: #333;
}

.profile-description-text {
    line-height: 1.8;
    color: #555;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 0;
}

.physical-details-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.physical-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.physical-detail-row:last-child {
    border-bottom: none;
}

/* Grille vidéos */
.videos-grid,
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.my-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 15px;
}

/* Amélioration des cartes vidéo sur la page profil */
.my-videos-grid .card {
    background: white;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.44);
    cursor: pointer;
}

.my-videos-grid .card-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    background: #000;
    overflow: hidden;
    position: relative;
}

.my-videos-grid .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge de durée en overlay */
.video-duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    font-family: monospace;
    border: 1px solid #000;
}

/* Info card vidéo */
.my-videos-grid .card-info {
    padding: 12px;
    background: white;
}

.my-videos-grid .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.my-videos-grid .card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.my-videos-grid .card-meta {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
}

.my-videos-grid .meta-separator {
    font-size: 8px;
}

.video-card,
.content-card {
    cursor: pointer;
}

.video-card:hover,
.content-card:hover {
    opacity: 0.9;
}

.video-thumbnail,
.content-thumb {
    width: 100%;
    height: 120px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.video-thumbnail img,
.content-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-title,
.content-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.video-stats,
.content-meta {
    font-size: 12px;
    color: #666;
}

/* Tags */
.video-tags,
.profile-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
}

a.video-tag,
.video-tags a.video-tag,
.profile-tag {
    background: #333 !important;
    color: white !important;
    padding: 4px 7px !important;
    text-decoration: none !important;
    border-radius: 3px !important;
    font-size: 12px !important;
    display: inline-block !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

a.video-tag:hover,
.video-tags a.video-tag:hover,
.profile-tag:hover {
    background: #555 !important;
}

/* Sidebar */
.sidebar-section {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.detail-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: bold;
    margin-right: 10px;
}

.detail-value {
    color: #666;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.gallery-item {
    cursor: pointer;
}

.gallery-item:hover {
    opacity: 0.9;
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .videos-grid,
    .content-grid,
    .my-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-main-container {
        grid-template-columns: 1fr;
    }
}
