/* Estilos para el formulario de publicación */
.post-form-card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    background-color: #fff;
    overflow: hidden;
}

#image-preview-container {
    position: relative;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.image-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.image-preview-header span {
    font-weight: bold;
}

#remove-image {
    padding: 3px 10px;
    font-size: 14px;
    border-radius: 4px;
    background-color: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

#remove-image:hover {
    background-color: #c82333;
}

.image-preview-body {
    padding: 10px;
    text-align: center;
}

#image-preview {
    max-width: 100%;
    max-height: 300px;
}

.post-attachments {
    display: flex;
    border-top: 1px solid #e9ecef;
    padding-top: 10px;
}

.post-attachment-item {
    margin-right: 10px;
}

.post-attachment-btn {
    background-color: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-attachment-btn:hover {
    background-color: #f0f2f5;
}

/* Estilos para videos */
#image-preview-container video {
    max-width: 100%;
    max-height: 300px;
}

/* Estilos para el botón de publicar */
#publish-btn {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    font-weight: 500;
}

#publish-btn:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
