/* ImageCard Component Styles */

.image-card-with-actions {
    position: relative;
    border-radius: inherit;
    overflow: hidden;
}

.image-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.image-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image container takes remaining space */
.image-container,
.image-placeholder {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Round image styles */
.main-image.round {
    border-radius: 50%;
    width: var(--image-size, 150px);
    height: var(--image-size, 150px);
    object-fit: cover;
}

/* Container with padding for round images */
.image-container.with-padding {
    padding: var(--image-padding, 10px);
}

.image-placeholder.with-padding {
    padding: var(--image-padding, 10px);
}

/* Round placeholder */
.image-placeholder.round {
    width: var(--image-size, 150px);
    height: var(--image-size, 150px);
    border-radius: 50%;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: white;
}

/* Placeholder styles */
.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.placeholder-text {
    margin-top: 0.5rem;
    text-align: center;
}

/* Cercle blanc pour placeholder des images rondes */
.placeholder-circle-white {
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
    max-width: 150px;
    max-height: 150px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.placeholder-circle-white i {
    font-size: 3.5rem;
    color: #3b82f6;
}

/* Footer takes auto height and stays at bottom */
.image-card-footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    width: 100%;
}